Submission #23970598
Source Code Expand
Copy
#include<bits/stdc++.h>using namespace std;#define ll long long#define pii pair<int,int>ll A,B,C;int main(){ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);cin>>A>>B;if(B >= A && B <= 6 * A) cout<<"Yes"<<endl;else cout<<"No"<<endl;}
#include<bits/stdc++.h> using namespace std; #define ll long long #define pii pair<int,int> ll A,B,C; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin>>A>>B; if(B >= A && B <= 6 * A) cout<<"Yes"<<endl; else cout<<"No"<<endl; }
Submission Info
Submission Time | |
---|---|
Task | A - Rolling Dice |
User | Adityailhamks |
Language | C++ (GCC 9.2.1) |
Score | 100 |
Code Size | 282 Byte |
Status | AC |
Exec Time | 6 ms |
Memory | 3636 KB |
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 | 3472 KB |
bound_01.txt | AC | 2 ms | 3596 KB |
bound_02.txt | AC | 2 ms | 3564 KB |
bound_03.txt | AC | 2 ms | 3536 KB |
random_00.txt | AC | 2 ms | 3624 KB |
random_01.txt | AC | 3 ms | 3536 KB |
sample_00.txt | AC | 2 ms | 3564 KB |
sample_01.txt | AC | 2 ms | 3636 KB |
sample_02.txt | AC | 3 ms | 3512 KB |