Problem summit
User PerihelionfromAphelion
Submission Time 2026-07-31 19:48:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summit.cpp: In function ‘int32_t main()’:
summit.cpp:17:8: error: ‘i’ was not declared in this scope
17 | for (i = 0; i < n - 1; i++) {
| ^
summit.cpp:17:19: error: ‘n’ was not declared in this scope
17 | for (i = 0; i < n - 1; i++) {
| ^