Problem summit
User PerihelionfromAphelion
Submission Time 2026-07-31 19:51:44
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 < 1000; i++) {
| ^
summit.cpp:18:18: error: ‘x’ was not declared in this scope
18 | while ((mid / x) != 0) {
| ^
summit.cpp:28:1: error: expected ‘}’ at end of input
28 | }
| ^
summit.cpp:6:17: note: to match this ‘{’
6 | int32_t main () {
| ^