제출 #109879

#제출 시각아이디문제언어결과실행 시간메모리
109879dantoh000게임 (IOI14_game)C++14
42 / 100
166 ms7416 KiB
#include <bits/stdc++.h>
//#include "game.h"
using namespace std;
int ct[1005];
int n;
void initialize(int _n) {
    n = _n;
}
int hasEdge(int u, int v) {
    int k = max(u,v);
    ct[k]++;
    if (ct[k] == k) return 1;
    else return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...