Submission #414541

#TimeUsernameProblemLanguageResultExecution timeMemory
414541illyakrGame (IOI14_game)C++14
100 / 100
374 ms16452 KiB
#include <bits/stdc++.h> #include "game.h" using namespace std; void initialize(int n) { } int c[1510]; int hasEdge(int u, int v) { return ++c[max(u, v)] == max(u, v); } /** 4 0 3 1 0 0 2 3 1 1 2 2 3 4 0 3 2 0 0 1 1 2 1 3 2 3 4 0 1 3 0 1 2 0 2 3 1 2 3 */
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...