用户工具

站点工具


2020-2021:teams:looking_up_at_the_starry_sky:shenzhonghai:atcoder_beginner_contest_174

contest link

round up: 向上取整
round down: 向下取整
round: 四舍五入

E题

题意:见题目
题解:二分即可,比较坑的是以为最终结果采用四舍五入近似,其实 round up 是指向上取整。
只对最终答案取 ceil 依然 wa 了两个点,可能精度不够?目前只通过全程 int 才过
comment:看清题意,尽量避免浮点数运算

2020-2021/teams/looking_up_at_the_starry_sky/shenzhonghai/atcoder_beginner_contest_174.txt · 最后更改: 2020/08/07 17:49 由 x342333349