Submission #824035

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