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 archerstarlee at 2009-04-03 13:22:34 on Problem 1837 and last updated at 2009-04-03 13:39:05
还好__int64就够了.

试试这组...
20 20
-15 -9 -8 -14 -10 -1 -12 -6 -4 -2 1 2 9 4 5 10 6 12 14 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

我用高精算出来是 
83522590987303525017396

但是我用高精的话绝对超时.

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