Problem | sumint |
---|---|
User | Yifei1234 |
Submission Time | 2023-02-22 17:26:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
sumint.cpp: In function ‘int main()’:
sumint.cpp:4:5: error: ‘input’ was not declared in this scope
4 | input 1 <= d <= 10000
| ^~~~~
sumint.cpp:6:26: error: ‘d’ was not declared in this scope
6 | output for (int i=0 ; 1<d ; 1++){
| ^
sumint.cpp:6:31: error: lvalue required as increment operand
6 | output for (int i=0 ; 1<d ; 1++){
| ^~