Submission #154358

#TimeUsernameProblemLanguageResultExecution timeMemory
154358blueGame (IOI14_game)C++11
100 / 100
373 ms16420 KiB
#include "game.h" int N; int* E; void initialize(int n) { N = n; E = new int[N+1]; for(int i = 0; i < N; i++) E[i] = i; } int hasEdge(int u, int v) { E[u > v ? u : v]--; return !E[u > v ? u : v]; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...