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