제출 #109877

#제출 시각아이디문제언어결과실행 시간메모리
109877dantoh000게임 (IOI14_game)C++14
0 / 100
3 ms384 KiB
#include <bits/stdc++.h>
#include "game.h"
int ct[1005];
int n;
void initialize(int _n) {
    n = _n;
}
int hasEdge(int u, int v) {
    ct[u]++, ct[v]++;
    if (ct[u] == n-1 || ct[v] == n-1) return 1;
    else return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...