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:太难了,完全没有思路的说~~

Posted by majia5 at 2008-07-20 12:36:55 on Problem 3126
In Reply To:太难了,完全没有思路的说~~ Posted by:acmfjk at 2006-12-02 14:37:23
bfs,把一个数字所能变成的所有状态记录下来,直到遇到目的数字
PS.数据真的是非常弱,我用STL的队列居然没TLE
24MS

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