摘要: Codeforces Round #637 (Div. 2) A~D http://codeforces.com/contest/1341/ A. Nastya and Rice 题意 有 \(n\) 个范围在 \([a-b,a+b]\) 的数字,询问他们的和能否在区间 \([c-d,c+d]\) 阅读全文
posted @ 2020-04-26 22:26 DOEMsy 阅读(440) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #636 (Div. 3) A~D http://codeforces.com/contest/1343/ A. Candies 题意 给定一个 \(n\) ,询问任意一个 \(x\) 满足 \(x+2x+4x+⋯+2^{k−1}x=n,k\gt1\),题目保证存在 阅读全文
posted @ 2020-04-26 06:52 DOEMsy 阅读(514) 评论(0) 推荐(0) 编辑