[R49B]减法
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.
时空限制
1S/512M
题目描述
是一个由 个数字 组成的数。例如,当 时,它是 ;当 时,它是 。
现在给定两个正整数 和 ,你需要计算 的值。
格式
输入格式
输入共一行,包含一个整数 和一个数字 ,由一个空格隔开。
输出格式
输出一行,一个整数,表示计算的结果。
样例
样例输入 #1
3 123
样例输出 #1
876
样例解释 #1
当 时,。 计算结果为 。
样例输入 #2
20 11111111111111111
样例输出 #2
99988888888888888888
数据规模
对于 的数据,。。
代码源挑战赛 Round 49
- Status
- Done
- Rule
- DMY
- Start at
- 2026-2-13 20:00
- End at
- 2026-2-13 21:30
- Duration
- 1.5 hour(s)
- Host
- Partic.
- 355