Submission #1207178

#TimeUsernameProblemLanguageResultExecution timeMemory
1207178santialt2Rail (IOI14_rail)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "rail.h"
using namespace std;
#define ll int
#define vl vector<ll>
#define vb vector<bool>
#define pb push_back
#define ff(aa, bb, cc) for(ll aa = bb; aa < cc; aa++)
#define pll pair<ll, ll>
#define fi first
#define se second
#define ed "\n"
#define all(aaa) aaa.begin(), aaa.end()
ll MOD = 1e9+7;

void buildWall(ll n, ll first, ll location[], ll stype[]){
	location[0] = 0;
	stype[0] = 1;
	ff(i, 1, n){
		ll dist = getDistance(0, i);
		location[i] = dist;
		stype[i] = 2;
		
	}
}

Compilation message (stderr)

/usr/bin/ld: /tmp/ccFngxXZ.o: in function `main':
grader.cpp:(.text.startup+0x2d9): undefined reference to `findLocation'
collect2: error: ld returned 1 exit status