| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1359831 | cpismayilmmdv985 | 게임 (IOI14_game) | C++20 | 128 ms | 18840 KiB |
#include "game.h"
#include "bits/stdc++.h"
using namespace std;
const int MXN = 2000;
int adj[MXN][MXN], N, deg[MXN], cnt[MXN];
bool vis[MXN];
void initialize(int n) {
N = n;
for (int i = 0; i < N; i++)
for (int j = 0; j < N; j++) adj[i][j] = 1, deg[i]++, deg[j]++;
}
int hasEdge(int u, int v) {
if (u < v) swap(u, v);
cnt[u]++;
if (cnt[u] >= u) return 1;
return 0;
}
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
