练4.1 阿布拉1

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.

说明

尼克是一位好学的学生,他经常做实验。有一天他在做实验的时候需要交换一瓶1010毫升的红墨水和一瓶2020毫升的蓝墨水,但他不会,便向狐狸老师求助,狐狸老师念了一句咒语“阿布拉”帮助了尼克。试编一程序,模拟这一过程。

输入格式

输出格式

第一行输出交换前两个瓶子的墨水数量。
第二行交换后两个瓶子的墨水数量(单位ml)。

样例

a=10 b=20
a=20 b=10

2026.2.13

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
23
Start at
2026-2-13 9:30
End at
2026-2-23 9:30
Duration
240 hour(s)
Host
Partic.
2