next up previous
Next: Sample Output Up: Fractions Previous: Output

Sample Input

5
1 10 20 -30 40
2 3 4 1 2
3 -60 -50 -2000 725
4 -60 -50 725 -200
2 100 25 4 1



ACM Programming Contest Account
Mon Feb 5 17:30:22 EST 2001