Problem sumint
User Ethan1L1K1X1
Submission Time 2024-04-07 21:55:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i=0;i<a,i++){
| ^
sumint.cpp:8:18: error: expected ‘;’ before ‘)’ token
8 | for (i=0;i<a,i++){
| ^
| ;
sumint.cpp:13:10: error: ‘x’ was not declared in this scope
13 | cout << x;
| ^