Submission #492846

#TimeUsernameProblemLanguageResultExecution timeMemory
492846InternetPerson10Game (IOI14_game)C++17
100 / 100
277 ms16372 KiB
#include "game.h" #include <algorithm> using namespace std; int small[1501]; void initialize(int n) { for(int i = 1; i < n; i++) small[i] = i-1; } int hasEdge(int u, int v) { if(small[max(u, v)]) small[max(u, v)]--; else return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...