| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1331499 | Ekber_Ekber | 게임 (IOI14_game) | C++20 | 183 ms | 7076 KiB |
#include <bits/stdc++.h>
#include "game.h"
#define ff first
#define ss second
#define pb push_back
#define all(v) v.begin(), v.end()
using namespace std;
vector <int> is;
void initialize(int n) {
is.resize(n);
}
int hasEdge(int u, int v) {
if (u > v) swap(u, v);
if (is[v] == v - 1) {
return 1;
}
else {
is[v]++;
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... | ||||
