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

两个需要注意的地方

Posted by ravilin at 2008-07-31 17:53:10 on Problem 1083
1 s与t的大小比较(这点大家都提到了)
2 走廊的范围确定,如果小范围为偶数,需要减1,如果大范围为奇数,需要加1,看图就明白了

自已在第二点上卡了好多次,希望能对后面的兄弟有那么些帮助

PS:一点小怨念.最近做了些题,感觉POJ上的SAMPLE一般都太简单,而且没什么典型性,SAMPLE能通却WA的情况很多,这时调试起来很难下手.如果像GOOGLE CODE JAM的形式,给出测试用例的话会好很多
 

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