Submission #971912

# Submission time Handle Problem Language Result Execution time Memory
971912 2024-04-29T13:15:57 Z Stinny Arranging Shoes (IOI19_shoes) C++17
Compilation error
0 ms 0 KB
#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

/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