Problem sumofdigits
User zq
Submission Time 2026-11-09 10:42:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumofdigits.cpp: In function ‘int main()’:
sumofdigits.cpp:10:25: error: ‘to_integer’ was not declared in this scope
10 | currentDigit = (num / to_integer(pow(10, i))) % 10;
| ^~~~~~~~~~