摘要: 本场链接:Codeforces Round #730 (Div. 2) A. Exciting Bets 由性质:$(a + x,b + x) = (a + x,b - a)$故取到最大值应该是$a+x \mod b - a == 0$时,就有最大值$b-a$,步数为$x$解出即可. #includ 阅读全文
posted @ 2021-07-08 20:42 随处可见的阿宅 阅读(81) 评论(0) 推荐(0) 编辑