| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1108278 | Ariadna | 게임 (IOI14_game) | C++14 | 1 ms | 616 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
int cnt = 0, other = 0, N;
pair<int, int> edge1;
void initialize(int n) {
N = n;
}
int hasEdge(int u, int v) {
++cnt;
if (cnt == 1) {
edge1 = {u, v};
return 1;
}
if (u != edge1.fi && u != edge1.se && v != edge1.fi && v != edge1.se) return 1;
++other;
if (other == 4) return 1;
return 0;
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
