Submission #723566

#TimeUsernameProblemLanguageResultExecution timeMemory
723566mhabibovPermutation (APIO22_perm)C++17
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> using namespace std; vector<int> construct_permutation(int k){ vector<int> permutation; for(int i = k-2; i>=0; i--){ permutation.push_back(i); } return permutation; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccyn9Q0E.o: in function `main':
grader.cpp:(.text.startup+0x240): undefined reference to `construct_permutation(long long)'
collect2: error: ld returned 1 exit status