# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1076402 | 2024-08-26T13:38:10 Z | Warinchai | Ancient Machine (JOI21_ancient_machine) | C++17 | 55 ms | 9572 KB |
#include "Anna.h" #include <vector> #include<bits/stdc++.h> using namespace std; void Anna(int N, std::vector<char> S) { for(auto x:S){ if(x=='X')Send(1),Send(0); else if(x=='Y')Send(0),Send(1); else Send(0),Send(0); } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 780 KB | Wrong Answer [6] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 55 ms | 9572 KB | Wrong Answer [6] |
2 | Halted | 0 ms | 0 KB | - |