Submission #211033

#TimeUsernameProblemLanguageResultExecution timeMemory
211033_Ice_Tea_Arranging Shoes (IOI19_shoes)C++14
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
#define LLI long long int
#define pii pair<int,int>
#define fst first
#define sec second
#define ULTRA 2134567890
#define de(x) if(x!=0 && MODE==x)
#define MODE 1
using namespace std;

int count_swaps( int S[])
{
    if( S[0] > 0)
        return 0;
    else
        return -1;
}

Compilation message (stderr)

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