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 ip96cns at 2011-03-25 18:55:06 on Problem 1716
4
0 1
0 1
0 1
0 1

这个数据,我在返回条件写dist[maxnum]-dist[1]可以AC.但是在这个条件下返回结果为1
而正确的返回条件应该为dist[maxnum]-dist[0],也可以AC.此时这组数据返回结果为2....

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