제출 #1016591

#제출 시각아이디문제언어결과실행 시간메모리
1016591bozho게임 (IOI14_game)C++14
100 / 100
221 ms18512 KiB
#include<bits/stdc++.h>
#define endl '\n'
using namespace std;

int h[2000],nn;

int hasEdge(int u, int v)
{
    u++;
    v++;
    if(u>v)
        swap(u,v);
    h[u]++;
    if(h[u]==nn-u)
        return 1;
    else
        return 0;
}

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