Submission #824036

#TimeUsernameProblemLanguageResultExecution timeMemory
824036petezaGame (IOI14_game)C++14
100 / 100
262 ms16396 KiB
int cnt[2000]; void initialize(int n) { for(int i=0;i<n;i++) cnt[i] = i; } int hasEdge(int u, int v) { if(u > v) u ^= v, v ^= u, u ^= v; if(--cnt[v] == 0) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...