随笔分类 - 贪心-可撤销贪心
摘要:D2T2 网页浏览 题目 我们在上网时,从一个网页上的链接打开另一个网页有两种方式,一个是直接替换正在浏览的页面,另一个是在新标签页中打开。如果善用这两种打开方式,是可以节省一些操作的。 今天 Zayin 需要浏览 个网页,其中有且仅有一个网页是保存在本地可以点击打开的,其他 \(n −
阅读全文
摘要:题目链接 题目 This is yet another problem on regular bracket sequences. A bracket sequence is called regular, if by inserting "+" and "1" into it we get a c
阅读全文