Problem | sumsumdigit |
---|---|
User | CKCodeBreaker55 |
Submission Time | 2024-12-11 09:07:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumsumdigit.cpp: In function ‘int main()’:
sumsumdigit.cpp:15:25: error: request for member ‘size’ in ‘a’, which is of non-class type ‘long long int’
15 | for (int i = 0; i < a.size(); i++)
| ^~~~
sumsumdigit.cpp:17:23: error: invalid types ‘long long int[long long int]’ for array subscript
17 | total = total + a[i];
| ^