제출 #824035

#제출 시각아이디문제언어결과실행 시간메모리
824035peteza게임 (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...