Problem pilot
User Negative273C
Submission Time 2024-10-31 19:14:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int32_t main()’:
pilot.cpp:22:17: error: ‘temp’ was not declared in this scope
22 | ans += (temp/2)*(temp+1);
| ^~~~