제출 #713459

#제출 시각아이디문제언어결과실행 시간메모리
713459Spade1Game (IOI14_game)C++14
100 / 100
271 ms7056 KiB
#include <bits/stdc++.h>
#include "game.h"
int cnt[2020], n;
void initialize(int n) {::n=n;}
int hasEdge(int u, int v) {
    if (u > v) std::swap(u, v);
    cnt[u]++;
    return (cnt[u] == n-u-1);
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...