Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

界外的忽略就ok了

Posted by gaminerie at 2006-08-09 20:40:19 on Problem 1379
In Reply To:Re:有谁关注一下 Posted by:daizuyang at 2006-08-09 20:38:36
> 我从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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator