Problem sum2
User CheeseAndBread
Submission Time 2026-06-25 09:17:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sum2.cpp: In function ‘int main()’:
sum2.cpp:11:11: error: expected ‘;’ before numeric constant
11 | for(int i 0; i < n; i++){
| ^~
| ;
sum2.cpp:11:20: error: expected ‘)’ before ‘;’ token
11 | for(int i 0; i < n; i++){
| ~ ^
| )
sum2.cpp:11:22: error: ‘i’ was not declared in this scope
11 | for(int i 0; i < n; i++){
| ^