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

还没做出来就先玩trick……

Posted by frkstyc at 2005-08-08 11:40:26 on Problem 2184
In Reply To:只用一个一维数组存状态推的时候很容易出错 Posted by:c0500448242 at 2005-08-08 11:34:09
> 试一下这组数据:
> 2
> 1 1
> 1 2
> 答案显然应该是5.
> 你用了一个real数组防止重用,但是却把本来可用的设置为不可用了.

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