Submission #65644

#TimeUsernameProblemLanguageResultExecution timeMemory
65644KubalionzzaleGame (IOI14_game)C++14
0 / 100
3 ms664 KiB
#include "game.h" int cnt[1600] = { 0 }; int max; void initialize(int n) { max = n; } int hasEdge(int u, int v) { ++cnt[u]; ++cnt[v]; if (cnt[u] == max - 1 || cnt[v] == max - 1) return 1; else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...