Submission #3770032
Source Code Expand
#include <iostream> using namespace std; int main(){ int n; cin >> n; for(int i=0; i<n; i++){ char c; cin >> c; if(c == '9')cout << '1'; else if(c == '1')cout << '9'; } cout << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - AtCoder Beginner Contest 999 |
User | takuryu |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 265 Byte |
Status | WA |
Exec Time | 2 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample1_119.txt, sample2_999.txt |
All | pigeonhole_191.txt, sample1_119.txt, sample2_999.txt, testcase_111.txt, testcase_191.txt, testcase_199.txt, testcase_911.txt, testcase_919.txt, testcase_991.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
pigeonhole_191.txt | WA | 1 ms | 256 KB |
sample1_119.txt | WA | 1 ms | 256 KB |
sample2_999.txt | WA | 2 ms | 256 KB |
testcase_111.txt | WA | 1 ms | 256 KB |
testcase_191.txt | WA | 1 ms | 256 KB |
testcase_199.txt | WA | 1 ms | 256 KB |
testcase_911.txt | WA | 1 ms | 256 KB |
testcase_919.txt | WA | 1 ms | 256 KB |
testcase_991.txt | WA | 1 ms | 256 KB |