| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1343224 | x93bd0 | 게임 (IOI14_game) | C++20 | 165 ms | 7056 KiB |
#include "game.h"
#include <algorithm>
int N, C[1500];
void initialize(int n) {
std::fill(C, C + n, 0);
N = n;
}
int hasEdge(int u, int v) {
return ++C[std::max(u, v)] == std::max(u, v);
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
