Digit
Time limit2sMemory limit1024 MB
Given two integers A and B, the task is to count the decimal digits of their sum.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
Two integers A and B are given.
Find the number of digits of the sum of A and B when written in decimal.
Input
A
B
Output
Print the number of digits of the sum of A and B in decimal, without the unit (digits).
Print only the answer. Do not print anything else, including prompts for input.
Constraints
- .
- .
- All input values are integers.