Submission #709804

#TimeUsernameProblemLanguageResultExecution timeMemory
709804aryan12Game (IOI14_game)C++17
100 / 100
308 ms9044 KiB
#include "game.h" #include "bits/stdc++.h" using namespace std; const int N = 1569; int edges[N]; int n; void initialize(int nn){ n = nn; } int hasEdge(int u, int v){ if (u>v) swap(u, v); u++, v++; edges[u]++; return edges[u] == n - u; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...