Submission #57885

#TimeUsernameProblemLanguageResultExecution timeMemory
57885zetapiGame (IOI14_game)C++14
100 / 100
582 ms13184 KiB
#include "game.h" #include "bits/stdc++.h" using namespace std; int N,cnt[2000]; void initialize(int n) { } int hasEdge(int u, int v) { if(u>v) swap(u,v); u++; v++; cnt[v]++; if(cnt[v]==v-1) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...