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 xiaoabu at 2009-08-14 08:12:32 on Problem 1247
In Reply To:运行没问题,提交怎么就是WRONG ANSWER?高人看下! Posted by:Avery at 2009-07-22 16:28:38
将倒数第三行的if(k==N-2)改为if(k==N-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