# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
92197 | CPX | Game (IOI14_game) | C++14 | 2 ms | 376 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
int ctr[2000];
int n;
void initialize(int n) {
::n=n;
}
int hasEdge(int u, int v) {
ctr[u]++;
ctr[v]++;
return ((ctr[v]>ctr[u]?ctr[v]:ctr[u])==n-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... |