Submission #1148567

#TimeUsernameProblemLanguageResultExecution timeMemory
1148567zhasynConnecting Supertrees (IOI20_supertrees)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "supertrees.h" #define pb push_back #define pf push_front using namespace std; #define F first #define S second typedef long long ll; #define pii pair <int, int> #define pll pair <ll, ll> typedef long double ld; const ll N = 1e6 + 100, M = 4096 + 10, len = 21, inf = 1e18; const ll mod = 1e9 + 7; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> answer; for (int i = 0; i < n; i++) { vector<int> row; row.resize(n); answer.push_back(row); } build(answer); return 1; } int main() { ios::sync_with_stdio(false); cin.tie(NULL); return 0; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cceVUmX9.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccq0ZpBc.o:supertrees.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status