Submission #1293530

#TimeUsernameProblemLanguageResultExecution timeMemory
1293530sh1kaMagic Show (APIO24_show)C++20
Compilation error
0 ms0 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;
}

Compilation message (stderr)

# 1번째 컴파일 단계

Alice.cpp:1:10: fatal error: Alice.h: No such file or directory
    1 | #include <Alice.h>
      |          ^~~~~~~~~
compilation terminated.