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

Re:我WA了两次竟然是因为没有吧坐标严格限制在0~l-1的范围内...

Posted by EmersonX at 2011-04-05 10:22:35 on Problem 1915
In Reply To:我WA了两次竟然是因为没有吧坐标严格限制在0~l-1的范围内... Posted by:Dario67 at 2011-04-04 19:47:31
> bool inmap(int x,int y){//judge if the point is in the map
>     return ( x<=l && y<=l && x>=0 && y>=0 );
> }//WA
> bool inmap(int x,int y){//judge if the point is in the map
>     return ( x<l && y<l && x>=0 && y>=0 );
> }//AC

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