Submission #753942

#TimeUsernameProblemLanguageResultExecution timeMemory
753942JohannGame (IOI14_game)C++14
100 / 100
310 ms16332 KiB
#include "game.h" #include "bits/stdc++.h" using namespace std; typedef vector<int> vi; vi cnt; void initialize(int n) { cnt.assign(n + 1, 0); } int hasEdge(int u, int v) { int tmp = max(u, v); return (++cnt[tmp] == tmp); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...