Submission #928018

# Submission time Handle Problem Language Result Execution time Memory
928018 2024-02-15T17:35:05 Z EJIC_B_KEDAX Comparing Plants (IOI20_plants) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>

#define x first
#define y second

using ll = long long;

using namespace std;

void solve();

int main() {
#ifndef LOCAL
    cin.tie(nullptr)->sync_with_stdio(false);
#endif
    cout << fixed << setprecision(30);
    int t = 1;
    // cin >> t;
    while (t--) {
        solve();
    }
}

void solve() {
    cout << "00\n";
}

Compilation message

/usr/bin/ld: /tmp/ccf4LHs8.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc3B6yHc.o:plants.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccf4LHs8.o: in function `main':
grader.cpp:(.text.startup+0x2f6): undefined reference to `init(int, std::vector<int, std::allocator<int> >)'
/usr/bin/ld: grader.cpp:(.text.startup+0x32f): undefined reference to `compare_plants(int, int)'
collect2: error: ld returned 1 exit status