Problem | sumint |
---|---|
User | Yifei1234 |
Submission Time | 2023-02-22 17:21:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:4:11: error: expected unqualified-id before numeric constant
4 | for (int 1=d ; 1<d; 1++){
| ^
sumint.cpp:4:10: error: expected ‘;’ before numeric constant
4 | for (int 1=d ; 1<d; 1++){
| ^~
| ;
sumint.cpp:4:13: error: ‘d’ was not declared in this scope
4 | for (int 1=d ; 1<d; 1++){
| ^
sumint.cpp:4:20: error: expected ‘)’ before ‘;’ token
4 | for (int 1=d ; 1<d; 1++){
| ~ ^
| )
sumint.cpp:4:23: error: lvalue required as increment operand
4 | for (int 1=d ; 1<d; 1++){
| ^~