# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
935479 | 2024-02-29T07:50:57 Z | SmuggingSpun | Ancient Machine (JOI21_ancient_machine) | C++17 | 30 ms | 4620 KB |
#include "Anna.h" #include<bits/stdc++.h> using namespace std; void Anna(int n, vector<char>S){ for(char& c : S){ if(c == 'X'){ Send(0); Send(0); } else if(c == 'Y'){ Send(1); Send(0); } else{ Send(0); Send(1); } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 788 KB | Wrong Answer [3] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 30 ms | 4620 KB | Wrong Answer [3] |
2 | Halted | 0 ms | 0 KB | - |