Submission #1135390

#TimeUsernameProblemLanguageResultExecution timeMemory
1135390thinkinNile (IOI24_nile)C++17
Compilation error
0 ms0 KiB
// https://oj.uz/problem/view/IOI24_nile #include <bits/stdc++.h> using namespace std; int main() { int n, q; cin >> n; vector<int> w(n), a(n), b(n); for (int i=0; i<n; i++) { cin >> w[i] >> a[i] >> b[i]; } cin >> q; vector<int> e(q); for (int i=0; i<q; i++) { cin >> e[i]; } cout << "test"; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccAeIukN.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc1Zvl44.o:nile.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccAeIukN.o: in function `main':
grader.cpp:(.text.startup+0x30e): undefined reference to `calculate_costs(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status