Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:有谁关注一下In Reply To:有谁关注一下 Posted by:daizuyang at 2006-08-09 20:35:20 我从http://contest.felk.cvut.cz/99cerc/data/ 找到数据 107 9 1000 0 0 10 0 0 10 10 10 1 0 10 1 0 9 9 10 2 0 ... "0 10 "是明显越界了 Each test case begins with a line containing three integers X, Y, M separated by space. The numbers satisfy conditions: 1 <= X,Y <=10000, 1 <= M <= 1000. The numbers X and Yindicate the dimensions of the Large Room which has a rectangular shape. The number M stands for the number of holes. Then exactly M lines follow, each containing two integer numbers Ui and Vi (0 <= Ui <= X, 0 <= Vi <= Y) indicating the coordinates of one hole. There may be several holes at the same position. 注意这句话(0 <= Ui <= X, 0 <= Vi <= Y) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator