Problem sumsumdigit
User NoobMugger420
Submission Time 2024-12-11 10:57:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumsumdigit.cpp: In function ‘long long int sum_of_digits(long long int)’:
sumsumdigit.cpp:11:10: error: expected ‘;’ before ‘n’
11 | n-=n%10
| ^
| ;
12 | n /= 10;
| ~