제출 #964525

#제출 시각아이디문제언어결과실행 시간메모리
964525UmairAhmadMirza게임 (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...