Submission #600523

#TimeUsernameProblemLanguageResultExecution timeMemory
600523MarceantasyGondola (IOI14_gondola)C++17
Compilation error
0 ms0 KiB
#include "gondola.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define ar array const int mxN = 1e5+5; int valid(int n, int inputSeq[]){ int cnt = 0; for(int i = 1; i<n; ++i){ cnt += (inputSeq[i]<inputSeq[i-1]); } return cnt <= 1; }

Compilation message (stderr)

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