随笔分类 - 递归
摘要:"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
阅读全文
摘要:"A. Scarborough Fair" 题意 对给定的长度为$n$的字符串进行$m$次操作,每次将一段区间内的某一个字符替换成另一个字符。 思路 直接模拟 Code include using namespace std; typedef long long LL; int main() { i
阅读全文