2365 人解决,2614 人已尝试。
2901 份提交通过,共有 5615 份提交。
0.5 EMB 奖励。
单点时限: 2.0 sec
内存限制: 256 MB
Write a program which computes the digit number of sum of two integers $a$ and $b$.
The first line of input gives the number of cases, $N(1 \leqslant N \leqslant 100)$. $N$ test cases follow.
Each test case consists of two integers $a$ and $b$ which are separeted by a space in a line. $(0 \leqslant a,b \leqslant 100000000)$.
For each test case, print the number of digits of $a + b$.
3 5 7 1 99 1000 999
2 3 4
2365 人解决,2614 人已尝试。
2901 份提交通过,共有 5615 份提交。
0.5 EMB 奖励。