摘要: Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901) 阅读全文
posted @ 2018-12-17 22:27 进击的黑仔 阅读(235) 评论(0) 推荐(0) 编辑
摘要: FJ's N (1 ≤ N ≤ 10,000) cows conveniently indexed 1..N are standing in a line. Each cow has a positive integer height (which is a bit of secret). You 阅读全文
posted @ 2018-12-17 15:30 进击的黑仔 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 题目描述 一种新型的激光炸弹,可以摧毁一个边长为R的正方形内的所有的目标。现在地图上有n(n≤10000)个目标,用整数xi,yi(0≤xi,yi≤5000)表示目标在地图上的位置,每个目标都有一个价值0<vi<100。激光炸弹的投放是通过卫星定位的,但其有一个缺点,就是其爆破范围,即那个边长为R的 阅读全文
posted @ 2018-12-17 14:30 进击的黑仔 阅读(279) 评论(0) 推荐(0) 编辑