Submission #2525271
Source Code Expand
#include <iostream> using namespace std; int main(void){ // Your code here! int a,b; cin >> a >> b; if((a==1||a==3||a==5||a==7||a==8||a==10||a==12)&&(b==1||b==3||b==5||b==7||b==8||b==10||b==12)){ cout << "Yes" << endl; } else if((a==4||a==6||a==9||a==11)&&(b==4||b==6||b==9||b==11)){ cout << "Yes" << endl; } else cout << "No" << endl; }
Submission Info
Submission Time | |
---|---|
Task | A - Grouping |
User | Kou026 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 419 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt |
All | 0_00.txt, 0_01.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 1 ms | 256 KB |
0_01.txt | AC | 1 ms | 256 KB |
1_00.txt | AC | 1 ms | 256 KB |
1_01.txt | AC | 1 ms | 256 KB |
1_02.txt | AC | 1 ms | 256 KB |
1_03.txt | AC | 1 ms | 256 KB |
1_04.txt | AC | 1 ms | 256 KB |