Submission #600524

#TimeUsernameProblemLanguageResultExecution timeMemory
600524MarceantasyGondola (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; } int replacement(int n, int gondolaSeq[], int replacementSeq[]); int countReplacement(int n, int inputSeq[]);

Compilation message (stderr)

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