제출 #365475

#제출 시각아이디문제언어결과실행 시간메모리
365475lookcookpopa (BOI18_popa)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>

#define int long long

using namespace std;

int solve(int n, int* left, int* right) {
    left[0] = -1;
    right[0] = -1;
    return 3;
}

signed main() {
    ios_base::sync_with_stdio(0);
    cin.tie(0);

}

컴파일 시 표준 에러 (stderr) 메시지

/tmp/ccgKnDOP.o: In function `main':
popa.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccNyEotg.o:grader.cpp:(.text.startup+0x0): first defined here
/tmp/ccNyEotg.o: In function `main':
grader.cpp:(.text.startup+0xe9): undefined reference to `solve(int, int*, int*)'
collect2: error: ld returned 1 exit status