Submission #332030

#TimeUsernameProblemLanguageResultExecution timeMemory
332030zggfGame (IOI14_game)C++14
0 / 100
1 ms364 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; vector<int> tab; void initialize(int n) { tab.resize(n+1, n-1); } int hasEdge(int u, int v) { tab[u]--; tab[v]--; if(tab[u]==0||tab[v]==0) {tab[u]=-1; tab[v]=-1; return 1;} return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...