Problem pilot
User rysneo
Submission Time 2025-03-20 23:08:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int32_t main()’:
pilot.cpp:32:19: error: ‘mheights’ was not declared in this scope; did you mean ‘heights’?
32 | int idx = it - mheights.begin() + 1;
| ^~~~~~~~
| heights
pilot.cpp:34:33: error: expected primary-expression before ‘<<’ token
34 | cout << idx * (idx + 1) / 2; << "\n";
| ^~