제출 #1104701

#제출 시각아이디문제언어결과실행 시간메모리
1104701Toto게임 (IOI14_game)C++14
0 / 100
1 ms336 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; int n,g[1501]; void initialize(int num) { n=num; for(int i=1;i<n;i++){ g[i]=i; } g[0]=1; } int hasEdge(int u, int v) { g[max(u,v)]--; if(g[u]&&g[v])return 0; else return 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...