【深基1.例2】简单的分苹果
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 拿走了 个,Uim 拿走了 个,八尾勇拿走剩下的所有的苹果。我们想知道:
- 小A 和 Uim 两个人一共拿走多少苹果?
- 八尾勇能拿走多少苹果?
现在需要编写一个程序,输出两个数字作为答案,中间使用空格分开。
输入格式
不需要输入。
输出格式
输出两个数字作为答案,中间使用空格分开。
测试赛
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2025-8-19 17:30
- End at
- 2025-8-19 19:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 1