Submission #928018

#TimeUsernameProblemLanguageResultExecution timeMemory
928018EJIC_B_KEDAXComparing Plants (IOI20_plants)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

/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