Problem sumint
User cry0rsa
Submission Time 2025-06-18 15:00:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:12: error: expected unqualified-id before ‘=’ token
10 | for (int = i; i < d; ++i){
| ^
sumint.cpp:10:11: error: expected ‘;’ before ‘=’ token
10 | for (int = i; i < d; ++i){
| ^~
| ;
sumint.cpp:10:12: error: expected primary-expression before ‘=’ token
10 | for (int = i; i < d; ++i){
| ^
sumint.cpp:10:14: error: ‘i’ was not declared in this scope
10 | for (int = i; i < d; ++i){
| ^
sumint.cpp:10:22: error: expected ‘)’ before ‘;’ token
10 | for (int = i; i < d; ++i){
| ~ ^
| )
sumint.cpp:10:26: error: ‘i’ was not declared in this scope
10 | for (int = i; i < d; ++i){
| ^