Problem sumsumdigit
User CKCodeBreaker55
Submission Time 2024-12-12 14:17:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumsumdigit.cpp: In function ‘int main()’:
sumsumdigit.cpp:22:41: error: ‘sumOfDigits’ was not declared in this scope
22 | digitSum[i] = digitSum[i - 1] + sumOfDigits(i);
| ^~~~~~~~~~~