Submission #709801

#TimeUsernameProblemLanguageResultExecution timeMemory
709801raysh07Game (IOI14_game)C++17
100 / 100
267 ms16408 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...