4818: P1460 [USACO2.1] 健康的荷斯坦奶牛 Healthy Holsteins(普及-)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:6 Solved:5

Description

Input

Output

Sample Input Copy

4
100 200 300 400
3
50  50  50  50
200 300 200 300
900 150 389 399

Sample Output Copy

2 1 3

HINT