Submission #52149

#TimeUsernameProblemLanguageResultExecution timeMemory
52149aquablitz11Game (IOI14_game)C++14
0 / 100
3 ms776 KiB
#include "game.h" const int N = 1510; int n; int cnt[N]; void initialize(int n) { ::n = n; } int hasEdge(int u, int v) { ++cnt[u], ++cnt[v]; if (cnt[u] == n-1 || cnt[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...