| Problem | sumint |
|---|---|
| User | mingze |
| Submission Time | 2026-06-23 08:50:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:6: error: redeclaration of ‘long long int di’
10 | int di;
| ^~
sumint.cpp:7:6: note: ‘long long int di’ previously declared here
7 | int di;
| ^~
sumint.cpp:12:10: error: ‘i’ was not declared in this scope; did you mean ‘di’?
12 | cout << i << endl
| ^
| di
sumint.cpp: At global scope:
sumint.cpp:14:1: error: ‘cout’ does not name a type
14 | cout << i;
| ^~~~
sumint.cpp:15:1: error: expected unqualified-id before ‘return’
15 | return 0;
| ^~~~~~
sumint.cpp:16:1: error: expected declaration before ‘}’ token
16 | }
| ^