Submission #24012146
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
int main(){
int A, B;
cin >> A >> B;
cout << (A<=B && B<=6*A ? "Yes" : "No") << endl;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Rolling Dice |
| User | betrue12 |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 155 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 3596 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_00.txt, sample_01.txt, sample_02.txt |
| All | bound_00.txt, bound_01.txt, bound_02.txt, bound_03.txt, random_00.txt, random_01.txt, sample_00.txt, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| bound_00.txt | AC | 6 ms | 3484 KiB |
| bound_01.txt | AC | 2 ms | 3532 KiB |
| bound_02.txt | AC | 2 ms | 3408 KiB |
| bound_03.txt | AC | 2 ms | 3536 KiB |
| random_00.txt | AC | 2 ms | 3400 KiB |
| random_01.txt | AC | 2 ms | 3500 KiB |
| sample_00.txt | AC | 2 ms | 3400 KiB |
| sample_01.txt | AC | 2 ms | 3408 KiB |
| sample_02.txt | AC | 2 ms | 3596 KiB |