Submission #1054327

#TimeUsernameProblemLanguageResultExecution timeMemory
1054327stdfloatRainforest Jumps (APIO21_jumps)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "jumps.h" #include "stub.cpp" using namespace std; void init(int n, vector<int> v) { } int minimum_jumps(int A, int B, int C, int D) { return (B <= C ? C - B : -1); }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccQ9QbjE.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cce8kIlE.o:jumps.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status