Problem mountainjourney2
User ThinkingGeek257
Submission Time 2026-06-26 15:21:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountainjourney2.cpp: In function ‘int main()’:
mountainjourney2.cpp:10:2: error: ‘max_distance’ was not declared in this scope
10 | max_distance = -1;
| ^~~~~~~~~~~~
mountainjourney2.cpp:15:25: error: expected ‘;’ before ‘)’ token
15 | for (lli i = 0; i<N+M-2){
| ^
| ;