星星之火
摘要: 题目链接:http://noi.ac/contest/12/problem/37 题目: 小W收到了一张纸带,纸带上有 n个位置。现在他想把这个纸带染色,他一共有 m 种颜色,每个位置都可以染任意颜色,但是他发现如果某连续 m 个位置被染成了 m 种不同的颜色,那么就不美观,于是他决定让任意的相邻  阅读全文
posted @ 2018-09-21 15:00 星星之火OIer 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=3349 Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine whet 阅读全文
posted @ 2018-09-21 08:16 星星之火OIer 阅读(160) 评论(0) 推荐(0) 编辑