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 PythonCPP at 2019-02-02 14:47:30 on Problem 2891
比如这组数据:
3
423434224343 79842259748
31231312 8707648
99999999999999 70850049605632

答案是100000000000000000,但是不用高精度的话中间过程会超出int64的范围的。

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