Submission #159241

#TimeUsernameProblemLanguageResultExecution timeMemory
159241sochoGame (IOI14_game)C++14
100 / 100
397 ms16504 KiB
#include "game.h" #include <bits/stdc++.h> using namespace std; int adj[1505]; void initialize(int n) { memset(adj, 0, sizeof adj); } int hasEdge(int u, int v) { if (u < v) return hasEdge(v, u); adj[u]++; if (adj[u] == u) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...