제출 #15928

#제출 시각아이디문제언어결과실행 시간메모리
15928comet게임 (IOI14_game)C++98
100 / 100
451 ms9912 KiB
#include<algorithm> using namespace std; int degree[10010]; void initialize(int n){ for(int i=0;i<n;i++)degree[i]=i; } int hasEdge(int u, int v){ int t=max(u,v); if(degree[t]==1)return 1; degree[t]--; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...