Submission #650141

#TimeUsernameProblemLanguageResultExecution timeMemory
650141activedeltorreArranging Shoes (IOI19_shoes)C++14
Compilation error
0 ms0 KiB
#include <vector>
using namespace std;
long long cout_swaps(vector<int>vec)
{
    if(vec[0]<0)
    {
        return 0;
    }
    else
    {
        return 1;
    }
}

Compilation message (stderr)

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