Submission #576254

#TimeUsernameProblemLanguageResultExecution timeMemory
576254itnes경주 (Race) (IOI11_race)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set;
typedef long long ll;
typedef pair<ll,ll> pll;
typedef pair<ll,int> pli;
typedef pair<int,ll> pil;
typedef pair<int,int> pii;
const ll INFLL=1e18+7;
const int INF=1e9+7;
#define pb push_back
const int MAXN=2e5+7;
vector<int> G[MAXN];
//~ int best_path(int N,int K,array<int,2> H[],array<int,1> L[]){
	//~ return 0;
//~ }
int main()
{
	ios_base::sync_with_stdio(0);
	int n; cin>>n;
	for(int i=1;i<n;++i){
		int a,b; cin>>a>>b;
		G[a].pb(b);
		G[b].pb(a);
	}
	int x;
	for(int i=1;i<n;++i) cin>>x;
	cout<<"xd";
}

Compilation message (stderr)

/usr/bin/ld: /tmp/cc6VBuPM.o: in function `main':
race.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cceIaOpO.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cceIaOpO.o: in function `main':
grader.cpp:(.text.startup+0x28): undefined reference to `best_path(int, int, int (*) [2], int*)'
collect2: error: ld returned 1 exit status