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

根据鸽巢原理,只需要把ans置为9L/gcd(L,8) + 1作为"无穷大"即可

Posted by majia5 at 2009-08-07 19:52:29 on Problem 3696
In Reply To:超过1000000000时就很溢出unsigned long long了,怎么办? Posted by:4h at 2008-10-07 21:11:12
> 超过1000000000时就很溢出unsigned long long了,怎么办?

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