제출 #139827

#제출 시각아이디문제언어결과실행 시간메모리
139827throwaway__게임 (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...