Submission #25557526
Source Code Expand
#include <iostream>
#include <set>
using namespace std;
string S1, S2, S3;
int main() {
cin >> S1 >> S2 >> S3;
set<string> x = {"ABC", "ARC", "AGC", "AHC"};
x.erase(S1);
x.erase(S2);
x.erase(S3);
for (string s: x) { cout << s << endl; }
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - AtCoder Quiz |
| User | daimatz |
| Language | C++ (GCC 9.2.1) |
| Score | 200 |
| Code Size | 267 Byte |
| Status | AC |
| Exec Time | 6 ms |
| Memory | 3616 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt |
| All | example_00.txt, example_01.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 6 ms | 3596 KiB |
| example_01.txt | AC | 2 ms | 3552 KiB |
| test_00.txt | AC | 2 ms | 3604 KiB |
| test_01.txt | AC | 3 ms | 3596 KiB |
| test_02.txt | AC | 2 ms | 3504 KiB |
| test_03.txt | AC | 2 ms | 3556 KiB |
| test_04.txt | AC | 2 ms | 3616 KiB |
| test_05.txt | AC | 2 ms | 3588 KiB |
| test_06.txt | AC | 2 ms | 3596 KiB |
| test_07.txt | AC | 2 ms | 3564 KiB |