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:ceil函数传float参数导致 WAIn Reply To:Re:ceil函数传float参数导致 WA Posted by:EULERXIA at 2021-06-10 19:53:51 > float除法会有精度损失,可以不需要ceil函数直接利用(a+b-1)/b的方式上取整 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator