加法进位【无数据】

No testdata at current.

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

给定两个整数 a与b,请计算在十进制加法过程中,a+b 产生了多少次进位。

输入格式

一行两个正整数a,b,0<=a,b<=10000000000<=a,b<=1000000000

输出格式

输出一行一个正整数,表示产生进位的次数。

样例

666 234
2
999 1
3

20251012编程挑战精英赛训练

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
51
Start at
2025-9-24 15:00
End at
2025-11-5 7:00
Duration
1000 hour(s)
Host
Partic.
58