Submission #618116

#TimeUsernameProblemLanguageResultExecution timeMemory
618116as111Gondola (IOI14_gondola)C++14
Compilation error
0 ms0 KiB
#include "gondola.h" using namespace std; int valid(int n, int inputSeq[]) { int curr = inputSeq[0]; for (int i = 1; i < n; i++) { if (i != curr + 1) { if (i <= n && i != 1) { return 0; } } curr = inputSeq[i]; } return 1; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccnxA7xL.o: in function `main':
grader.cpp:(.text.startup+0x108): undefined reference to `countReplacement'
/usr/bin/ld: grader.cpp:(.text.startup+0x132): undefined reference to `replacement'
collect2: error: ld returned 1 exit status