| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1341968 | aritro_ | 게임 (IOI14_game) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n'
#define pb push_back
#define ff first
#define ss second
#define all(a) a.begin(),a.end()
void initialize(int n) {
nn = n;
}
int cnt = 0;
int hasEdge(int u, int v) {
if (u>v)swap(u, v);
if (u == 0 && v == 1)return 1;
if (u == 2 && v == 3)return 1;
cnt += 1;
if (cnt == 4)return 1;
return 0;
}