Problem mountainjourney2
User lucas
Submission Time 2026-06-26 16:33:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountainjourney2.cpp: In function ‘int main()’:
mountainjourney2.cpp:14:31: error: ‘i’ was not declared in this scope
14 | cout << highest(a[0]-a[1], a[i]-a[0]);
| ^
mountainjourney2.cpp:14:10: error: ‘highest’ was not declared in this scope
14 | cout << highest(a[0]-a[1], a[i]-a[0]);
| ^~~~~~~