Submission #971912

#TimeUsernameProblemLanguageResultExecution timeMemory
971912StinnyArranging Shoes (IOI19_shoes)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #define int long long using namespace std; int count_swaps(vector <int> a) { return (a[0] < 0 ? 0 : 1); }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc6BHwUU.o: in function `main':
grader.cpp:(.text.startup+0x2a8): undefined reference to `count_swaps(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status