Submission #24010469
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define endl "\n"
#define rep(i, n) for (int i = 0; i < n; i++)
void solve()
{
ll a,b;
cin>>a>>b;
if(b>a*6 || b<a)
{
cout<<"No"<<endl;
}
else{
cout<<"Yes"<<endl;
}
}
int main()
{
#ifndef ONLINE_JUDGE
freopen("input.in", "r", stdin);
freopen("output.in", "w", stdout);
#endif
int t;
t=1;
while (t--)
{
solve();
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Rolling Dice |
| User | EramallaAravind |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 525 Byte |
| Status | AC |
| Exec Time | 8 ms |
| Memory | 3584 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 | 8 ms | 3496 KiB |
| bound_01.txt | AC | 3 ms | 3492 KiB |
| bound_02.txt | AC | 2 ms | 3500 KiB |
| bound_03.txt | AC | 2 ms | 3496 KiB |
| random_00.txt | AC | 2 ms | 3544 KiB |
| random_01.txt | AC | 3 ms | 3584 KiB |
| sample_00.txt | AC | 2 ms | 3496 KiB |
| sample_01.txt | AC | 2 ms | 3380 KiB |
| sample_02.txt | AC | 2 ms | 3344 KiB |