Submission #136505

#TimeUsernameProblemLanguageResultExecution timeMemory
136505mlyean00Game (IOI14_game)C++14
0 / 100
2 ms380 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; vector<int> deg; void initialize(int n) { deg = vector<int>(n, n - 1); } int hasEdge(int u, int v) { int ans = min(deg[u], deg[v]) == 1; --deg[u]; --deg[v]; return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...