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

Java注意

Posted by callmelili at 2013-07-23 17:31:17 on Problem 2551
用java写的,然后就是,在算是否余n为0的时候,有两种方法,一是采用BigInteger,因为long不够,9999时,位数为36,肯定会溢出;另一种就是采用discuss里面一个同学说的,每次余n然后再乘以10再加一。

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