摘要:
传送门 题意: 有 n 个商店,第 i 个商店出售正整数 ai; Dora 买了 m 天的东西,第 i 天去了 si 个不同的个商店购买了 si 个数; Dora 的对手 Swiper 在第 i 天去了 Dora 未去的商店购买了 n-si 个数; 问在这m天里,是否存在序列a,使得这 m 天都满足 阅读全文
摘要:
C. A Tale of Two Lands 题意: 给出 n 个数,问有多少点对(x,y)满足 |x-y| ≤ |x|,|y| ≤ |x+y|; (x,y) 和 (y,x) 表示一种答案; 题解: 数形结合; 对于某数 x 查找满足条件 y 有多少个; ①x ≥ 0 y ∈ [x/2 , 2x] 阅读全文
摘要:
传送门 参考资料: [1]:https://blog.csdn.net/mmk27_word/article/details/89789770 题目描述 Put simply, the Justice card represents justice, fairness, truth and the 阅读全文