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错了,但用float能过~~晕!

Posted by ynruc at 2013-01-08 20:36:46 on Problem 1004
In Reply To:Re:这题用double错了,但用float能过~~晕! Posted by:201130633254 at 2011-11-07 23:51:18
用double也可以的,只不过读入数据的时候scanf中也得用%lf才行,否则按照%f读入会丢失精度,具体原因还不清楚,待高手解释~

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