摘要: Problem Description Long long ago, there was a gunner whose name is Jack. He likes to go hunting very much. One day he go to the grove. There are n bi 阅读全文
posted @ 2019-09-16 22:09 __MEET 阅读(129) 评论(0) 推荐(0) 编辑
摘要: There are NN light bulbs indexed from 00 to N-1N−1. Initially, all of them are off. A FLIP operation switches the state of a contiguous subset of bulb 阅读全文
posted @ 2019-09-16 22:07 __MEET 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 题目描述 多次询问,每次询问给一个值域范围 [l,r][l,r],要回答下列四个问题: 从这个范围内选出两个整数(两个数可相同), (1) 这两个数的最小公倍数最大是多少? (2) 这两个数的最小公倍数最小是多少? (3) 这两个数的最大公约数最大是多少? (4) 这两个数的最大公约数最小是多少? 阅读全文
posted @ 2019-09-16 22:03 __MEET 阅读(162) 评论(0) 推荐(0) 编辑
摘要: A digit sum S_b(n)Sb​(n) is a sum of the base-bb digits of nn. Such as S_{10}(233) = 2 + 3 + 3 = 8S10​(233)=2+3+3=8, S_{2}(8)=1 + 0 + 0 = 1S2​(8)=1+0+ 阅读全文
posted @ 2019-09-16 16:08 __MEET 阅读(150) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-09-15 09:51 __MEET 阅读(5) 评论(0) 推荐(0) 编辑
摘要: Rather than drinking happy water, Guanguan loves storing happy water. So he bought a refrigerator and stored a_iai​ bottles of cola into it every day. 阅读全文
posted @ 2019-09-14 21:52 __MEET 阅读(324) 评论(0) 推荐(0) 编辑
摘要: As we all know, Honk has nn pools, numbered as 11 ~ nn . There is a_iai​ liters water in the ii-th pool. Every day, Honk will perform the following op 阅读全文
posted @ 2019-09-14 21:15 __MEET 阅读(336) 评论(5) 推荐(1) 编辑
摘要: Dawn-K recently discovered a very magical phenomenon in the supermarket of Northeastern University: The large package is not necessarily more expensiv 阅读全文
posted @ 2019-09-14 21:13 __MEET 阅读(262) 评论(0) 推荐(0) 编辑
摘要: You are fighting with Zmei Gorynich — a ferocious monster from Slavic myths, a huge dragon-like reptile with multiple heads! Initially Zmei Gorynich h 阅读全文
posted @ 2019-09-14 10:44 __MEET 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Polycarp is reading a book consisting of nn pages numbered from 11 to nn. Every time he finishes the page with the number divisible by mm, he writes d 阅读全文
posted @ 2019-09-13 21:59 __MEET 阅读(248) 评论(0) 推荐(0) 编辑