Submission #964525

#TimeUsernameProblemLanguageResultExecution timeMemory
964525UmairAhmadMirzaGame (IOI14_game)C++14
100 / 100
261 ms18280 KiB
#include <bits/stdc++.h> using namespace std; int const MN=1505; int cnt[MN]; int N=0; void initialize(int n){ N=n; } int hasEdge(int u, int v){ if(u>v) swap(u,v); cnt[u]++; if(cnt[u]==(N-1)-u) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...