# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1181628 | mahmudow_mahmyt | Game (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);
}