Submission #62757213
Source Code Expand
Copy
#include <bits/stdc++.h>using namespace std;string takahashi, aoki;int main() {cin >> takahashi >> aoki;if (takahashi == "sick") {if (aoki == "sick") {cout << 1 << endl;} else {cout << 2 << endl;}} else {if (aoki == "sick") {cout << 3 << endl;} else {cout << 4 << endl;}}return 0;}
#include <bits/stdc++.h> using namespace std; string takahashi, aoki; int main() { cin >> takahashi >> aoki; if (takahashi == "sick") { if (aoki == "sick") { cout << 1 << endl; } else { cout << 2 << endl; } } else { if (aoki == "sick") { cout << 3 << endl; } else { cout << 4 << endl; } } return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Poisonous Oyster |
User | HappyDavid3367 |
Language | C++ 20 (gcc 12.2) |
Score | 100 |
Code Size | 348 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 3648 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 |
All | 00_sample_00.txt, 00_sample_01.txt, 01_all_00.txt, 01_all_01.txt, 01_all_02.txt, 01_all_03.txt, 02_random_00.txt, 02_random_01.txt, 02_random_02.txt, 02_random_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | AC | 1 ms | 3460 KB |
00_sample_01.txt | AC | 1 ms | 3496 KB |
01_all_00.txt | AC | 1 ms | 3436 KB |
01_all_01.txt | AC | 1 ms | 3436 KB |
01_all_02.txt | AC | 1 ms | 3496 KB |
01_all_03.txt | AC | 1 ms | 3584 KB |
02_random_00.txt | AC | 1 ms | 3648 KB |
02_random_01.txt | AC | 1 ms | 3444 KB |
02_random_02.txt | AC | 1 ms | 3496 KB |
02_random_03.txt | AC | 1 ms | 3444 KB |