제출 #49351

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

vector<int> counte(1509);

void initialize(int n) {
}

int hasEdge(int u, int v) {
    int x = max(u,v);
    counte[x]++;
    if(counte[x] == x){
        return 1;
    }else{
        return 0;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...