Submission #354317

#TimeUsernameProblemLanguageResultExecution timeMemory
354317MefarnisGame (IOI14_game)C++14
100 / 100
392 ms16440 KiB
#include <bits/stdc++.h> #include "game.h" #define maxn 1500 using namespace std; int cnt[maxn]; void initialize(int n) { memset(cnt,0,sizeof(cnt)); } int hasEdge(int u, int v) { u = max(u,v); return u == (++cnt[u]); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...