Submission #303208

#TimeUsernameProblemLanguageResultExecution timeMemory
303208limabeansConnecting Supertrees (IOI20_supertrees)C++17
Compilation error
0 ms0 KiB
#include "supertrees.h" #include <bits/stdc++.h> using namespace std; template<typename T> void out(T x) { cout << x << endl; exit(0); } #define watch(x) cout << (#x) << " is " << (x) << endl using ll = long long; const int maxn = 1e6 + 5; int construct(std::vector<std::vector<int>> p) { int n = p.size(); std::vector<std::vector<int>> answer; for (int i = 0; i < n; i++) { std::vector<int> row; row.resize(n); answer.push_back(row); } build(answer); return 1; } int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); return 0; }

Compilation message (stderr)

/tmp/ccMJjn4C.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccF6tszI.o:supertrees.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status