Submission #365475

# Submission time Handle Problem Language Result Execution time Memory
365475 2021-02-11T17:37:21 Z lookcook popa (BOI18_popa) C++17
Compilation error
0 ms 0 KB
#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);

}

Compilation message

/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