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:晕……只是把double改成了long int 就对了……无语

Posted by zhzz at 2008-07-10 19:22:10 on Problem 3100
In Reply To:晕……只是把double改成了long int 就对了……无语 Posted by:cpp050100448707 at 2007-11-17 13:20:45
> 为什么会这样?
应该是输出的问题吧,double型输出时候 1000000 输出为 1e+006
而long 可以输出1000000

我的就是输出时强制转换了 就正确了,double时候一直wa

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