Submission #433644

#TimeUsernameProblemLanguageResultExecution timeMemory
433644medmdgGondola (IOI14_gondola)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #include "gondola.h" #define ll long long using namespace std; int valid(int n, int inputSeq[]) { int h=1; for(int i=1;i<n;i++){ if(inputSeq[i]!=(inputSeq[i-1]%n+1)) h=0; } return h; }

Compilation message (stderr)

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