제출 #66113

#제출 시각아이디문제언어결과실행 시간메모리
66113someone_aaGame (IOI14_game)C++17
0 / 100
4 ms608 KiB
#include <bits/stdc++.h>
#include "game.h"
using namespace std;
const int maxn = 1600;
int cnt[maxn], n;

void initialize(int N) {
    n = N;
}

int hasEdge(int u, int v) {
    cnt[u]++; cnt[v]++;
    if(cnt[u] == n-1 || cnt[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...