Problem I. 112. (October 2005)
I. 112. Some unknown real numbers (at most 10) are denoted by the first few letters of the alphabet. The greater member of certain pairs of numbers is given. You should order the variables such that all given inequalities are satisfied. If there is no such ordering, print ``No solution''.
Your program should read the given relations from the standard input. Each line will contain a single inequality, without spaces between the variables and inequality sign.
The output should contain a possible ordering of the numbers in the same format as in the example.
The source code of the program (i112.pas, i112.c, ...) should be submitted.
Deadline expired on 15 November 2005.