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

切水题遇到最郁闷的题。The maximum total number of marbles will be 20000.

Posted by WFArt_INSOLENT at 2012-12-15 05:59:38 on Problem 1014
这句话看成了total value。。。结果竟然不是RE而是WA,百思不得其解。甚至网上找来一段AC代码,用程序检验我的程序和他的结果是否相同,给随机数的测试数据。结果测试数据按value给的,不够大,跑了3个小时证明结果完全一样。郁闷好几天以后,今天回头才看到随机数的测试数据给小了。换成每个20000,最大120000,的测试,自己跑出了RE。检查一下 容量开了20000,显然是不够的。这题坑人了。郁闷死。开到120000,AC了。

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