Submission #1016591

#TimeUsernameProblemLanguageResultExecution timeMemory
1016591bozhoGame (IOI14_game)C++14
100 / 100
221 ms18512 KiB
#include<bits/stdc++.h> #define endl '\n' using namespace std; int h[2000],nn; int hasEdge(int u, int v) { u++; v++; if(u>v) swap(u,v); h[u]++; if(h[u]==nn-u) return 1; else return 0; } void initialize(int n) { nn=n; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...