Problem | sumint |
---|---|
User | SMILE |
Submission Time | 2024-04-13 11:20:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:2: error: ‘sum’ was not declared in this scope
7 | sum = 0
| ^~~
sumint.cpp:8:16: error: ‘i’ was not declared in this scope
8 | for(int i = 0;i<d;i++){
| ^
sumint.cpp:13:1: error: expected ‘}’ at end of input
13 | }
| ^
sumint.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^