Problem | sumint |
---|---|
User | broccolini37 |
Submission Time | 2025-01-20 17:27:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:6:11: error: expected ‘;’ before ‘int’
6 | (d == 10)
| ^
| ;
7 | int a, out = 0;
| ~~~
sumint.cpp:10:16: error: ‘a’ was not declared in this scope
10 | std::cout >> a;
| ^
sumint.cpp:12:3: error: ‘out’ was not declared in this scope
12 | out = out + a;
| ^~~
sumint.cpp:14:15: error: ‘out’ was not declared in this scope
14 | std::cout << out
| ^~~