제출 #139500

#제출 시각아이디문제언어결과실행 시간메모리
139500Runtime_error_게임 (IOI14_game)C++14
100 / 100
389 ms16464 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; const int inf = 1509; int cnt[inf]; void initialize(int n) { for(int i=0;i<n;i++) cnt[i] = i; } int hasEdge(int u, int v) { if(u > v) swap(u,v); cnt[v]--; if(cnt[v] == 0) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...