제출 #159241

#제출 시각아이디문제언어결과실행 시간메모리
159241socho게임 (IOI14_game)C++14
100 / 100
397 ms16504 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; int adj[1505]; void initialize(int n) { memset(adj, 0, sizeof adj); } int hasEdge(int u, int v) { if (u < v) return hasEdge(v, u); adj[u]++; if (adj[u] == u) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...