Submission #221479

#TimeUsernameProblemLanguageResultExecution timeMemory
221479staniewzkiGame (IOI14_game)C++14
100 / 100
382 ms8952 KiB
#include<bits/stdc++.h> using namespace std; vector<int> cnt; void initialize(int n) { cnt.resize(n, n - 1); } int hasEdge(int u, int v) { int x = min(u, v); return (--cnt[x] == x); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...