Submission #168344

#TimeUsernameProblemLanguageResultExecution timeMemory
168344johuthaGame (IOI14_game)C++14
100 / 100
381 ms16504 KiB
#include "game.h" #include <vector> #include <iostream> #include <algorithm> using namespace std; vector<int> edges; void initialize(signed n) { edges.resize(n, 0); } signed hasEdge(signed u, signed v) { edges[max(u, v)]++; return edges[max(u, v)] == max(u, v); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...