제출 #574418

#제출 시각아이디문제언어결과실행 시간메모리
574418talant117408Game (IOI14_game)C++17
0 / 100
1 ms212 KiB
#include "game.h"
#include <bits/stdc++.h>

#ifndef EVAL
#include "grader.cpp"
#endif

using namespace std;

int N;

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

int c[1503];

int hasEdge(int u, int v) {
    if (u < v) swap(u, v);
    c[u]++;
    c[v]++;
    auto flag = (c[u] == N-2);
    c[u]++;
    return flag;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...