제출 #303208

#제출 시각아이디문제언어결과실행 시간메모리
303208limabeansConnecting Supertrees (IOI20_supertrees)C++17
컴파일 에러
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;
}

컴파일 시 표준 에러 (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