| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1344488 | kantaponz | 게임 (IOI14_game) | C++20 | 0 ms | 344 KiB |
#include "game.h"
#include <bits/stdc++.h>
using namespace std;
const int nx = 1505;
int rem[nx];
void initialize(int n) {
for (int i = 0; i < n; i++) rem[i] = i - 1;
}
int hasEdge(int u, int v) {
if (u < v) swap(u, v);
if (rem[v] > 1) {
rem[v]--;
return 0;
} else {
return 1;
}
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
