Submission #7444

#TimeUsernameProblemLanguageResultExecution timeMemory
7444aintaGame (IOI14_game)C++98
100 / 100
420 ms9880 KiB
#include "game.h" #include<algorithm> using namespace std; int c[1510]; void initialize(int n) { } int hasEdge(int u, int v) { if(u>v)swap(u,v); if(++c[v] == v)return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...