Submission #387297

#TimeUsernameProblemLanguageResultExecution timeMemory
387297AlmaGame (IOI14_game)C++14
100 / 100
395 ms16492 KiB
#include<bits/stdc++.h> #include "game.h" using namespace std; vector<int> p; void initialize (int N) { p.assign(N, 0); } int hasEdge (int u, int v) { if (u < v) swap(u, v); p[u]++; if (p[u] == u) return 1; else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...