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:我WA了两次竟然是因为没有吧坐标严格限制在0~l-1的范围内...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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator