Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:这题用double错了,但用float能过~~晕!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator