Submission #397240

#TimeUsernameProblemLanguageResultExecution timeMemory
397240ruadhanConnecting Supertrees (IOI20_supertrees)C++17
Compilation error
0 ms0 KiB
#include "supertrees.h" #include <bits/stdc++.h> using namespace std; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> b(n, vector<int>(n)); for (int i = 1; i < n; i++) b[0][i] = 1, b[i][0] = 1; build(b); return 1; } int main() { return 0; }

Compilation message (stderr)

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