Код рабочий, проверка не пройдена
package com.javarush.task.task04.task0420;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Сортировка трех чисел
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int temp;
if (a>b) {temp=a; a=b; b= temp;}
if (a>c) {temp=a; a=c; b=temp;
if (b>c) {temp=b; b=c; c= temp;}
}
System.out.print(c+" "+b+" "+a);
//напишите тут ваш код
}
}