摘要:
这个题正向建树比较困难,但是反向建树然后树里维护空格的个数就很简单.就是每次插入第几个空格就行了. 题干: Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must 阅读全文
摘要:
欧拉函数裸题,直接欧拉函数值乘二加一就行了。具体证明略,反正很简单。 题干: Description A lattice point (x, y) in the first quadrant (x and y are integers greater than or equal to 0), oth 阅读全文