| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1327479 | michael12 | 게임 (IOI14_game) | C++20 | 0 ms | 0 KiB |
#include "game.h"
#include<bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define int long long
using namespace std;
const int inf = 1e9 + 10;
const int maxn = 2e5 + 5;
int a[1505];
memset(a, 0, sizeof(a));
void initialize(int n){
}
int hasEdge(int u, int v){
int T;
a[max(u, v)] += 1;
return a[max(u, v)] == max(u, v);
}