Submission #851786

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