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的都看过来!re十余次的忠告!

Posted by karlgeorge at 2017-02-20 18:21:32 on Problem 3278
每次向-1方向bfs的时候要判断大于零!小于零就不可能别搜!不然数组下标小于零re;
遇到n>=k的直接输出n-k!!!不然每次往后倒都有乘以2标记就算开100000000也会瞬间re!!
re十余次的忠告!

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