제출 #582774

#제출 시각아이디문제언어결과실행 시간메모리
582774Jomnoi게임 (IOI14_game)C++17
100 / 100
283 ms14888 KiB
#include <bits/stdc++.h>
#include "game.h"
using namespace std;

const int MAX_N = 1505;

int indegree[MAX_N];

void initialize(int n) {}

int hasEdge(int u, int v) {
    if(u > v) {
        swap(u, v);
    }

    indegree[v]++;
    return indegree[v] == v;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...