Submission #1006510

#TimeUsernameProblemLanguageResultExecution timeMemory
1006510devariaotaGame (IOI14_game)C++17
100 / 100
188 ms8812 KiB
#include <bits/stdc++.h> using namespace std; /* n = 4 0 1 0 2 0 3 1 2 1 3 2 3 */ vector<int> cnt; void initialize(int n) { cnt.resize(n); } int hasEdge(int u, int v) { ++cnt[max(u, v)]; return cnt[max(u, v)] == max(u, v); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...