Submission #560114

#TimeUsernameProblemLanguageResultExecution timeMemory
560114armashkaRainforest Jumps (APIO21_jumps)C++17
Compilation error
0 ms0 KiB
int n, a[200005]; void init(int N, int H[]) { n = N; for (int i = 1; i <= n; ++ i) { a[i] = H[i - 1]; } } int minimum_jumps(int A, int B, int C, int D) { return 0; }

Compilation message (stderr)

/usr/bin/ld: /tmp/cc8o2pd9.o: in function `main':
stub.cpp:(.text.startup+0x177): undefined reference to `init(int, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status