Problem sumsumdigit
User hyishigh
Submission Time 2024-12-11 09:36:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumsumdigit.cpp: In function ‘int main()’:
sumsumdigit.cpp:12:10: error: request for member ‘size’ in ‘n’, which is of non-class type ‘long long int’
12 | n = n.size();
| ^~~~
sumsumdigit.cpp:14:12: error: invalid types ‘long long int[long long int]’ for array subscript
14 | p = n[i];
| ^