Submission #402435

#TimeUsernameProblemLanguageResultExecution timeMemory
402435AlmaGondola (IOI14_gondola)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "gondola.h" using namespace std; int valid(int n, int inputSeq[]) { for (int i = 1; i < n; i++) { if (inputSeq[i-1] == n && inputSeq[i] != 1) return 0; else if (inputSeq[i] - inputSeq[i-1] != 1) return 0; } return 1; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccQjioVX.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