next up previous
Next: The Output Up: Watching Watches Previous: Watching Watches

The Input

Input consists of a number of lines, each with two distinct non-negative integers k and m between 0 and 256, indicating the number of seconds per day that each watch loses.



ACM Programming Contest Account
Mon Jan 24 15:47:44 EST 2000