Submission #341989

#TimeUsernameProblemLanguageResultExecution timeMemory
341989MarlovRail (IOI14_rail)C++14
Compilation error
0 ms0 KiB
#include "rail.h" #include <vector> using namespace std; void findLocation(int N, int first, vector<int> location, vector<int> stype){ location=vector<int>(N,0); stype=vector<int>(N,2); stype[0]=1; for(int i=0;i<N;i++){ location[i]=first+getDistance(0,i); } return; }

Compilation message (stderr)

/tmp/ccMiWwPP.o: In function `main':
grader.cpp:(.text.startup+0x2bf): undefined reference to `findLocation'
collect2: error: ld returned 1 exit status