| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1293531 | sh1ka | Magic Show (APIO24_show) | C++20 | 3 ms | 1092 KiB |
#include "Alice.h"
#include <bits/stdc++.h>
using namespace std;
vector<pair<int, int>> Alice() {
// #define int int64_t
int X = setN(5000);
vector<pair<int, int>> res;
for (int i = 1; i <= 5000; i++) {
if (i == X)
continue;
res.push_back({i, X});
}
return res;
}
#include "Bob.h"
#include <bits/stdc++.h>
using namespace std;
long long Bob(vector<pair<int, int>> v) {
vector<int> cnt(5001);
for (auto [a, b] : v)
cnt[a]++, cnt[b]++;
for (int i = 1; i <= 5000; i++)
if (cnt[i] > 1)
return i;
}
컴파일 시 표준 에러 (stderr) 메시지
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
