B. 例1.2 分苹果

    Type: Default 1000ms 256MiB

例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.

题目描述

这里有 10 个苹果,小A 拿走了 2 个,Uim 拿走了 4 个,八尾勇拿走剩下的所有的苹果。我们想知道:

  • 小A 和 Uim 两个人一共拿走多少苹果?
  • 八尾勇能拿走多少苹果?

现在需要编写一个程序,输出两个数字作为答案,中间使用空格分开。

输入格式

输出格式

输出两个数字作为答案,中间使用空格分开。

测试点约束

龙凤苑中学B班3.21

Not Attended
Status
Done
Rule
IOI
Problem
4
Start at
2024-3-21 16:20
End at
2024-3-25 16:20
Duration
96 hour(s)
Host
Partic.
13