# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
882383 | 2023-12-03T06:03:49 Z | willychan | Ancient Machine (JOI21_ancient_machine) | C++17 | 44 ms | 10044 KB |
#include "Anna.h" #include <vector> namespace { int variable_example = 0; } void Anna(int N, std::vector<char> S) { for(int i=0;i<N;i++){ if(S[i]=='X'){ Send(0); Send(0); } if(S[i]=='Y'){ Send(0); Send(1); } if(S[i]=='Z'){ Send(1); Send(0); } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 800 KB | Wrong Answer [5] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 44 ms | 10044 KB | Wrong Answer [5] |
2 | Halted | 0 ms | 0 KB | - |