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 forif at 2014-02-09 15:49:51 on Problem 3436 and last updated at 2014-02-09 15:57:51
我本来不想就这样直接把测试数据贴出来的,但当我提交后看到java AC的一共才17人的时候,我想有必要提个醒吧,因为这测试数据实在是。。。    以下是其中两组最坑人的测试数据:
06.in:
6 3
100  2 2 2 2 2 1  1 1 1 1 1 1
200  2 2 2 2 1 2  1 1 1 1 1 1
更坑的来了...
07.in:
10 1
300  
2 2 2 2 2 2 2 2 2 2  
1 1 1 1 1 1 1 1 1 1 
看到这里你是不是笑了?
用java的用readLine读完之后别做梦了...
用Scanner倒是好做,但因为Scanner性能不如BufferedReader所以我很少用,害的我这次...
还是怪自己没经验,对测试数据抱有幻想...

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