Problem sumint
User Yifei1234
Submission Time 2023-02-22 17:18:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:10: error: expected unqualified-id before numeric constant
5 | for(int 100000=0; 1<d<10000; 1++){
| ^~~~~~
sumint.cpp:5:9: error: expected ‘;’ before numeric constant
5 | for(int 100000=0; 1<d<10000; 1++){
| ^~~~~~~
| ;
sumint.cpp:5:17: error: lvalue required as left operand of assignment
5 | for(int 100000=0; 1<d<10000; 1++){
| ^
sumint.cpp:5:22: error: ‘d’ was not declared in this scope
5 | for(int 100000=0; 1<d<10000; 1++){
| ^
sumint.cpp:5:29: error: expected ‘)’ before ‘;’ token
5 | for(int 100000=0; 1<d<10000; 1++){
| ~ ^
| )
sumint.cpp:5:32: error: lvalue required as increment operand
5 | for(int 100000=0; 1<d<10000; 1++){
|