练5.2 阿布拉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.
说明
尼克是一位好学的学生,他经常做实验。有一天他在做实验的时候需要交换一瓶毫升的红墨水和一瓶毫升的蓝墨水,但他不会,便向狐狸老师求助,狐狸老师念了一句咒语“阿布拉”帮助了尼克。试编一程序,模拟这一过程。
输入格式
输入, 。
输出格式
第一行输出交换前两个瓶子的墨水数量。
第二行交换后两个瓶子的墨水数量(单位ml)。
样例
10 20
a=10 b=20
a=20 b=10
高新社团基础班No.3
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 7
- Start at
- 2024-10-17 12:30
- End at
- 2024-11-3 4:30
- Duration
- 400 hour(s)
- Host
- Partic.
- 19