Submission #884331

#TimeUsernameProblemLanguageResultExecution timeMemory
884331StefanL2005Game (IOI14_game)C++14
100 / 100
233 ms18636 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) { if (u > v) swap(u, v); Nr[v]++; if (Nr[v] == v) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...