# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
712612 | 2023-03-19T09:50:08 Z | dungnguyenn_05 | Ancient Machine (JOI21_ancient_machine) | C++17 | 38 ms | 5692 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
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 508 KB | Wrong Answer [6] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 38 ms | 5692 KB | Execution killed with signal 11 |
2 | Halted | 0 ms | 0 KB | - |