Submission #53878293
Source Code Expand
Copy
#include <bits/stdc++.h>using namespace std;#define ll long longint main(){int a, b;cin >> a >> b;int c=6-a-b;cout << (a==b ? -1 : c);}
#include <bits/stdc++.h> using namespace std; #define ll long long int main(){ int a, b; cin >> a >> b; int c=6-a-b; cout << (a==b ? -1 : c); }
Submission Info
Submission Time | |
---|---|
Task | A - Who Ate the Cake? |
User | elac |
Language | C++ 20 (gcc 12.2) |
Score | 100 |
Code Size | 173 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 3600 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | AC | 1 ms | 3484 KB |
00_sample_01.txt | AC | 1 ms | 3480 KB |
00_sample_02.txt | AC | 1 ms | 3524 KB |
01_random_00.txt | AC | 1 ms | 3484 KB |
01_random_01.txt | AC | 1 ms | 3468 KB |
01_random_02.txt | AC | 1 ms | 3452 KB |
01_random_03.txt | AC | 1 ms | 3488 KB |
01_random_04.txt | AC | 1 ms | 3452 KB |
01_random_05.txt | AC | 1 ms | 3472 KB |
01_random_06.txt | AC | 1 ms | 3600 KB |
01_random_07.txt | AC | 1 ms | 3484 KB |
01_random_08.txt | AC | 1 ms | 3596 KB |