SHENZHEN I/O

SHENZHEN I/O

评价数不足
ATTENUATION
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
5.418 KB
2022 年 4 月 4 日 下午 8:38
2022 年 4 月 5 日 上午 2:37
2 项改动说明 ( 查看 )

订阅以下载
ATTENUATION

描述
Output N, N/2, N/4, N/8, ...(rounded down). (N is the input number)
3 条留言
s7eph4n 2022 年 4 月 13 日 上午 10:41 
It's nice being motivated by other results. Got it down to a 6/609/13
zwippie 2022 年 4 月 12 日 上午 8:06 
Agreed, lovely little challenge. Solved in 6/655/14 .
s7eph4n 2022 年 4 月 9 日 下午 1:44 
Repeatedly cut the remainder in half, nice task. I've got it solved with a 8/621/15
Unfortunately my slightly more elegant solution 7/~570/14 fails on test 5/80, as there will also be some 3 digit input's (100). I'm not sure if the information is intentionally missing from the description, or if it's just to fool with you like the campaign sometimes does by giving you the false feeling that you've solved it for a few passed tests.
Thanks for creating that fun little challenge.