摘要: CF10D LCIS 洛谷传送门 题目描述 This problem differs from one which was on the online contest. The sequence a_{1},a_{2},...,a_a1,a2,...,a**n is called increasin 阅读全文
posted @ 2020-09-23 17:31 Seaway-Fu 阅读(148) 评论(0) 推荐(0)
摘要: NOIP 2012 摆花 洛谷传送门 JDOJ传送门 题目描述 小明的花店新开张,为了吸引顾客,他想在花店的门口摆上一排花,共mm盆。通过调查顾客的喜好,小明列出了顾客最喜欢的nn种花,从11到nn标号。为了在门口展出更多种花,规定第ii种花不能超过a_ia**i盆,摆花时同一种花放在一起,且不同种 阅读全文
posted @ 2020-09-23 14:31 Seaway-Fu 阅读(257) 评论(0) 推荐(0)
摘要: SDOI 2014 旅行 洛谷传送门 JDOJ传送门 Description S国有N个城市,编号从1到N。城市间用N-1条双向道路连接,满足从一个城市出发可以到达其它所有城市。每个城市信仰不同的宗教,如飞天面条神教、隐形独角兽教、绝地教都是常见的信仰。为了方便,我们用不同的正整数代表各种宗教。 S 阅读全文
posted @ 2020-09-23 13:53 Seaway-Fu 阅读(190) 评论(0) 推荐(0)
摘要: CF550C Divisibility by Eight 洛谷传送门 题目描述 You are given a non-negative integer nn , its decimal representation consists of at most 100100 digits and doe 阅读全文
posted @ 2020-09-23 08:00 Seaway-Fu 阅读(167) 评论(0) 推荐(0)