제출 #1331663

#제출 시각아이디문제언어결과실행 시간메모리
1331663vidux게임 (IOI14_game)C++17
100 / 100
165 ms7084 KiB
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
int m;
int cnt[2000] = {0};
void initialize(int n) {
	m = n;	
}
int hasEdge(int u, int v) {
    if (u > v) v = u;
    if (cnt[v] == v-1) return 1;
    cnt[v]++;
    return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...