Submission #528558

#TimeUsernameProblemLanguageResultExecution timeMemory
528558PauGame (IOI14_game)C++11
100 / 100
329 ms16372 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; int a[1501]; void initialize(int n) { for(int i = 1; i <= 1500; i++) a[i] = 0; } int hasEdge(int u, int v) { a[max(u,v)]++; if(a[max(u,v)] == max(u,v)) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...