随笔分类 -  递归

摘要:"A. K th Symbol in Grammar" Description On the first row, we write a 0. Now in every subsequent row, we look at the previous row and replace each occu 阅读全文
posted @ 2018-02-04 13:12 救命怀 阅读(258) 评论(0) 推荐(0)
摘要:"A. Scarborough Fair" 题意 对给定的长度为$n$的字符串进行$m$次操作,每次将一段区间内的某一个字符替换成另一个字符。 思路 直接模拟 Code include using namespace std; typedef long long LL; int main() { i 阅读全文
posted @ 2017-12-03 01:07 救命怀 阅读(287) 评论(0) 推荐(0)