kZjPBD.jpg

09 2019 档案

摘要:我们害怕把这道题题面搞得太无聊了,所以我们决定让这题超短。一个序列被称为是不无聊的,仅当它的每个连续子序列存在一个独一无二的数字,即每个子序列里至少存在一个数字只出现一次。给定一个整数序列,请你判断它是不是不无聊的。 我们害怕把这道题题面搞得太无聊了,所以我们决定让这题超短。一个序列被称为是不无聊的 阅读全文
posted @ 2019-09-29 11:21 Through_The_Night 阅读(239) 评论(0) 推荐(0) 编辑
摘要:Rounddog always has an array a1,a2,⋯,ana1,a2,⋯,an in his right pocket, satisfying 1≤ai≤n1≤ai≤n . A subarray is a non-empty subsegment of the original 阅读全文
posted @ 2019-09-28 20:59 Through_The_Night 阅读(284) 评论(0) 推荐(0) 编辑
摘要:题意 有AGTC四种字符,一开始有一个空串,每次操作,可以在首或尾加任意个字符,或者将已有字符镜面复制(左右两种复制方法),要求最少的操作步数使得得到给出的字符串 Solution: 我们要知道我们要求的是什么,是每一给回文串的所需要的最少的构造操作加上n-这个串的长度 然后就考虑如何求前者 题解: 阅读全文
posted @ 2019-09-24 20:39 Through_The_Night 阅读(299) 评论(0) 推荐(0) 编辑
摘要:As an eligible Ingress Resistance Agent you should know your power source, the Exotic Matter. We call it XM, which is the driving force behind all of 阅读全文
posted @ 2019-09-06 19:21 Through_The_Night 阅读(287) 评论(0) 推荐(0) 编辑
摘要:题解+CODE:https://blog.csdn.net/CrazyForsaken/article/details/100186979 积性函数线性筛 阅读全文
posted @ 2019-09-03 20:44 Through_The_Night 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示