Submission #884311

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