Problem | sumint |
---|---|
User | playiprobro |
Submission Time | 2024-01-31 10:50:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:23: error: ‘d’ was not declared in this scope
10 | for (int i = 1; i <= d; i++) {
| ^
sumint.cpp:13:19: error: expected ‘;’ before ‘}’ token
13 | std::cout << summ
| ^
| ;
14 | }
| ~
sumint.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
sumint.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^