NC25049. [USACO 2007 Feb L]Cow Bingo
描述
输入描述
Lines 1..5: Each line contains five space-separated integers that are one row of a bingo card. Those numbers which have already been called are represented as the negative version of themselves (i.e., -7 means 7 has already been called).
输出描述
Line 1: Between one and four integers that will get Betsy to a win with the shortest number of bingo draws. The numbers should be presented in ascending order.
示例1
输入:
1 2 3 4 5 -6 -7 8 -9 -10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
输出:
8