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

已AC,谢谢您的指点!!

Posted by jiali at 2005-08-13 10:54:19 on Problem 2559
In Reply To:加-1以后就变成了WA,郁闷,我再思考一下。谢谢您的提醒 Posted by:jiali at 2005-08-13 10:44:42
犯了个小错误,
把
brick[i+1]=brick[0]=0;
改成
brick[n+1]=brick[0]=-1;
就过了。这种错误真让人汗颜


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