# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
585195 | 2022-06-28T12:19:43 Z | Dan4Life | Wombats (IOI13_wombats) | C++17 | 5 ms | 8148 KB |
#include "wombats.h" #include <bits/stdc++.h> using namespace std; int x[5500]; void init(int R, int C, int H[5000][200], int V[5000][200]) { for(int i = 0; i < R; i++) x[i+1] = V[i][0]; } void changeH(int P, int Q, int W) { /* ... */ } void changeV(int P, int Q, int W) { x[P+1]=W; } int escape(int V1, int V2) { int ans = 0; for(int i = V1+1; i <= V2; i++) ans+=x[i]; return ans; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 3 ms | 4180 KB | Output is correct |
2 | Incorrect | 2 ms | 4180 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 212 KB | Output is correct |
2 | Incorrect | 0 ms | 212 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 468 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 5 ms | 8148 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 4 ms | 468 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 476 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |