Submission #62992387
Source Code Expand
Copy
#include <bits/stdc++.h>using namespace std;using i64 = long long;using arr = vector <int> ;using pii = pair <int, int> ;int main() {cin.tie(nullptr) -> sync_with_stdio(false);string s;cin >> s;for (char c : s) if (c == '2') cout << c;return 0;}
#include <bits/stdc++.h> using namespace std; using i64 = long long; using arr = vector <int> ; using pii = pair <int, int> ; int main() { cin.tie(nullptr) -> sync_with_stdio(false); string s; cin >> s; for (char c : s) if (c == '2') cout << c; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 22222 |
User | Drifty |
Language | C++ 20 (gcc 12.2) |
Score | 100 |
Code Size | 299 Byte |
Status | AC |
Exec Time | 2 ms |
Memory | 3596 KiB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample00.txt, sample01.txt, sample02.txt |
All | sample00.txt, sample01.txt, sample02.txt, testcase00.txt, testcase01.txt, testcase02.txt, testcase03.txt, testcase04.txt, testcase05.txt, testcase06.txt, testcase07.txt, testcase08.txt, testcase09.txt, testcase10.txt, testcase11.txt, testcase12.txt, testcase13.txt, testcase14.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample00.txt | AC | 1 ms | 3420 KiB |
sample01.txt | AC | 1 ms | 3312 KiB |
sample02.txt | AC | 1 ms | 3384 KiB |
testcase00.txt | AC | 1 ms | 3464 KiB |
testcase01.txt | AC | 1 ms | 3588 KiB |
testcase02.txt | AC | 2 ms | 3464 KiB |
testcase03.txt | AC | 2 ms | 3380 KiB |
testcase04.txt | AC | 1 ms | 3452 KiB |
testcase05.txt | AC | 1 ms | 3404 KiB |
testcase06.txt | AC | 1 ms | 3380 KiB |
testcase07.txt | AC | 1 ms | 3428 KiB |
testcase08.txt | AC | 1 ms | 3596 KiB |
testcase09.txt | AC | 2 ms | 3512 KiB |
testcase10.txt | AC | 1 ms | 3456 KiB |
testcase11.txt | AC | 2 ms | 3400 KiB |
testcase12.txt | AC | 1 ms | 3404 KiB |
testcase13.txt | AC | 1 ms | 3368 KiB |
testcase14.txt | AC | 1 ms | 3460 KiB |