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

Re:最后结果需要64位保存,但是不知道为什么需要64位保存,按照我的理解32位也ok

Posted by 2267182337 at 2012-07-23 13:37:57 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