Submission #139827

#TimeUsernameProblemLanguageResultExecution timeMemory
139827throwaway__Game (IOI14_game)C++14
100 / 100
392 ms16504 KiB
#include "game.h" #include <cstring> using namespace std; int cnt[1505]; void initialize(int n) { memset(cnt, 0, sizeof(cnt)); } int hasEdge(int u, int v) { if (v > u) return ++cnt[v] == v; return ++cnt[u] == u; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...