Submission #549873

#TimeUsernameProblemLanguageResultExecution timeMemory
549873sheldonRace (IOI11_race)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; const int nax = 1e6 + 20; vector<int> edges[nax]; map<pair<int, int>, int> mp; void solve() { int n, k; cin >> n >> k; for (int i = 0; i < n - 1; ++i) { int u, v, x; cin >> u >> v >> x; } int ans; cin >> ans; cout << ans; } int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); solve(); }

Compilation message (stderr)

/usr/bin/ld: /tmp/cccLGBuE.o: in function `main':
race.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccReE4WG.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccReE4WG.o: in function `main':
grader.cpp:(.text.startup+0x28): undefined reference to `best_path(int, int, int (*) [2], int*)'
collect2: error: ld returned 1 exit status