Submission #18722

#TimeUsernameProblemLanguageResultExecution timeMemory
18722ggohGame (IOI14_game)C++98
100 / 100
429 ms9876 KiB
int a,t,x[1555]; void initialize(int n){a=n;} int hasEdge(int u, int v){u++;v++;if(u>v)t=u,u=v,v=t;if(x[v]<v-2){x[v]++;return 0;}return 1;}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...