Submission #1067397

#TimeUsernameProblemLanguageResultExecution timeMemory
1067397golfGame (IOI14_game)C++17
100 / 100
211 ms16464 KiB
#include <bits/stdc++.h> using namespace std; int asked[2000] = {0}; void initialize(int n) {} int hasEdge(int u, int v) { if (u < v) swap(u, v); if (asked[u] == u - 1) { return 1; } else { asked[u]++; return 0; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...