Submission #725502

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

Compilation message (stderr)

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