# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1181628 | mahmudow_mahmyt | 게임 (IOI14_game) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
#include "game.h"
#define ll long long
#define ff first
#define ss second
#define mxn 200002
#define pb push_back
#define yes cout<<"YES"<<endl
#define no cout<<"NO"<<endl
using namespace std;
int c[1502];
bool HasEdge(int u,int v){
return ++c[max(u,v)]==max(u,v);
}