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:谁能帮我看看代码,为什么G++编译是对的,而VC++是错的,有一个数据差了一秒钟In Reply To:谁能帮我看看代码,为什么G++编译是对的,而VC++是错的,有一个数据差了一秒钟 Posted by:Crying at 2006-07-12 01:19:14 恩,就是精度问题,我也wa了好几次呢。 在计算tmp时,把1.0变成1.0000,在C++和G++都可以ac了哈。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator