Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Prepared by Ibrahim Mesecan.
Close Pair
Question:
You will be given three integer numbers. Print the two numbers whose
difference is the closest. Show any two, if there are many
numbers giving the same minimum difference.
Input specification
You will be given three integers
where each number is between -10000 and 10000.
Output specification
Show two integer numbers.
Sample Input I |
Sample Input II |
8 5 6
|
6 -5 6
|
Sample Output I |
Sample Output II |
5 6
|
6 6
|
Для отправки решений необходимо выполнить вход.
|