제출 #383087

#제출 시각아이디문제언어결과실행 시간메모리
383087ScarletS게임 (IOI14_game)C++17
0 / 100
1 ms364 KiB
#include <bits/stdc++.h>
using namespace std;

int n,used[1500];

int hasEdge(int u, int v)
{
    if (++used[u]==n-1||++used[v]==n-1)
        return 1;
    return 0;
}

void initialize(int k)
{
    n=k;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...