| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 398346 | kevinxiehk | Game (IOI14_game) | C++17 | 432 ms | 16360 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.
#include <game.h>
int count[1505],target[1505],n;
void initialize(int N) {
// TODO: implementation
n=N;
for(int i=0;i<N;i++)count[i]=0;
}
int max(int a,int b){
if(a>b)return a;
return b;
}
int hasEdge(int u, int v) {
// TODO: implementation
count[max(u,v)]++;
if(count[max(u,v)]==max(u,v))return 1;
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... | ||||
