| Problem | sumsumdigit |
|---|---|
| User | Peixi1210 |
| Submission Time | 2026-08-22 16:31:40 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumsumdigit.cpp: In function ‘int main()’:
sumsumdigit.cpp:17:39: error: ‘i’ was not declared in this scope
17 | for (int current_number = i; current_number > 0; current_number /= 10) {
| ^
sumsumdigit.cpp: At global scope:
sumsumdigit.cpp:25:5: error: expected unqualified-id before ‘return’
25 | return 0;
| ^~~~~~
sumsumdigit.cpp:26:1: error: expected declaration before ‘}’ token
26 | }
| ^