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

虽然题目没有这种数据,不过假设所有数字都相等,结果就是c(n,3),这是上界

Posted by yzhw at 2011-11-11 04:02:10 on Problem 3928
In Reply To:最后结果需要64位保存,但是不知道为什么需要64位保存,按照我的理解32位也ok Posted by:Cathy11 at 2011-05-23 15:16:08
> 结果上限为N*(N-1),这个结果不可能达到的;
> N<2^15,
> 所以结果<2^30,这个结果int可以保存的,不过我使用int,wa了,64位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