# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
608741 | 2022-07-27T09:49:55 Z | Duy_e | Monster Game (JOI21_monster) | C++17 | 327 ms | 1068 KB |
#include "monster.h" using namespace std; namespace { bool example_variable; } // namespace const long long N = 2e5; int cnt[N]; std::vector<int> Solve(int n) { std::vector<int> T(N); for (int i = 0; i < n; i ++) { for (int j = 0; j < n; j ++) if (j != i) cnt[i] += Query(i, j); T[i] = cnt[i] - 1; } return T; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 1048 KB | Wrong Answer [1] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 1048 KB | Wrong Answer [1] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 327 ms | 1068 KB | Wrong Answer [6] |
2 | Halted | 0 ms | 0 KB | - |