#P1836. 数页码
数页码
Description
A book’s page numbers are the consecutive integers from : . Please compute the sum of all individual digits across all page numbers; for example, for page , its sum is .
Input Format
A single integer on one line.
Output Format
One line containing the sum of all individual digits.
3456789
96342015
Hint
Constraints: .
Translated by ChatGPT 5
京公网安备 11011102002149号