# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1214717 | 12baater | Game (IOI14_game) | C++20 | 0 ms | 328 KiB |
#include "game.h"
int N,arr[1500];
void initialize(int n) {
N=n;
}
int hasEdge(int u, int v) {
if (arr[u] == N-1 || v == N-1) return 1;
arr[u]++;
arr[v]++;
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |