Submission #499732

#TimeUsernameProblemLanguageResultExecution timeMemory
499732martarelConnecting Supertrees (IOI20_supertrees)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include<algorithm> #include <math.h> #include <iostream> using namespace std; typedef long long ll; typedef pair<ll, ll> pi; typedef vector<bool> vb; typedef vector<int> vi; typedef vector<ll> vl; const ll maxn = 2e5 + 100; const ll INF = 1e9; #define fast_io ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); #define pb push_back #define pii pair<ll, pair<int, int>> #define mp make_pair #define f first #define s second #define all(x) (x).begin(), (x).end() #define FOR(n) for(int i = 0; i < n; i++) void build(int b[1005][1005]){ } int construct(int p[1005][1005]) { int ans[1005][1005]; //Case 1 for (int i = 1; i < 1005; i++){ ans[0][i] = 1; ans[0][i] = 1; } build(ans); return 1; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc182BYy.o: in function `main':
grader.cpp:(.text.startup+0x39a): undefined reference to `construct(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)'
collect2: error: ld returned 1 exit status