# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
712616 | 2023-03-19T10:05:36 Z | dungnguyenn_05 | Ancient Machine (JOI21_ancient_machine) | C++17 | 38 ms | 4088 KB |
#include<bits/stdc++.h> #include <vector> #include "Anna.h" void Anna(int N, std::vector<char> S) { for(char c:S) { if(c=='X') { Send(0); Send(0); } if(c=='Y') { Send(0); Send(1); } if(c=='Z') { Send(1); Send(0); } } }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 508 KB | Output is correct |
2 | Correct | 1 ms | 508 KB | Output is correct |
3 | Correct | 0 ms | 508 KB | Output is correct |
4 | Correct | 2 ms | 516 KB | Output is correct |
5 | Correct | 1 ms | 556 KB | Output is correct |
6 | Correct | 1 ms | 508 KB | Output is correct |
7 | Correct | 0 ms | 508 KB | Output is correct |
8 | Correct | 1 ms | 516 KB | Output is correct |
9 | Correct | 0 ms | 508 KB | Output is correct |
10 | Correct | 1 ms | 508 KB | Output is correct |
11 | Correct | 1 ms | 508 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 38 ms | 4088 KB | Wrong Answer [3] |
2 | Halted | 0 ms | 0 KB | - |