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:因为精度问题卡了一个多钟。。。

Posted by 947186602 at 2020-08-01 12:10:52 on Problem 3685
In Reply To:Re:因为精度问题卡了一个多钟。。。 Posted by:1813382441 at 2020-03-23 16:09:46
> 我就纳闷了 全改long long就能过 随便改一个int就WA
我也是,,N,K没用long long用的int
50000 2500000000 应该输出 7500000000 但是输出的确实负数····
因为K = 2500000000,溢出int了····

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