# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
864451 | 2023-10-23T02:36:50 Z | willychan | Broken Device 2 (JOI22_device2) | C++17 | 590 ms | 524288 KB |
#include "Anna.h" #include <utility> #include <vector> using namespace std; namespace { const int M = 2000; int variable_example = 0; } int Declare() { return M; } std::pair<std::vector<int>, std::vector<int> > Anna(long long A) { vector<int> X; vector<int> Y; for(int i=0;i<A;i++) X.push_back(1); for(int i=0;i<M-A;i++) X.push_back(0); for(int i=0;i<M;i++) Y.push_back(0); return make_pair(X, Y); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 808 KB | Output is correct |
2 | Correct | 566 ms | 32668 KB | Output is correct |
3 | Correct | 590 ms | 32744 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 808 KB | Output is correct |
2 | Correct | 566 ms | 32668 KB | Output is correct |
3 | Correct | 590 ms | 32744 KB | Output is correct |
4 | Incorrect | 13 ms | 21160 KB | Wrong Answer [4] |
5 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 808 KB | Output is correct |
2 | Correct | 566 ms | 32668 KB | Output is correct |
3 | Correct | 590 ms | 32744 KB | Output is correct |
4 | Incorrect | 13 ms | 21160 KB | Wrong Answer [4] |
5 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 808 KB | Output is correct |
2 | Correct | 566 ms | 32668 KB | Output is correct |
3 | Correct | 590 ms | 32744 KB | Output is correct |
4 | Incorrect | 13 ms | 21160 KB | Wrong Answer [4] |
5 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 2 ms | 808 KB | Output is correct |
2 | Correct | 566 ms | 32668 KB | Output is correct |
3 | Correct | 590 ms | 32744 KB | Output is correct |
4 | Incorrect | 13 ms | 21160 KB | Wrong Answer [4] |
5 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 378 ms | 524288 KB | Execution killed with signal 9 |
2 | Halted | 0 ms | 0 KB | - |