Submission #15928

#TimeUsernameProblemLanguageResultExecution timeMemory
15928cometGame (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...