제출 #211033

#제출 시각아이디문제언어결과실행 시간메모리
211033_Ice_Tea_Arranging Shoes (IOI19_shoes)C++14
컴파일 에러
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;
}

컴파일 시 표준 에러 (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