#include <cstdio>
#include <iostream>
#include <cstring>
#include <cmath>
using namespace std;
const int maxn=5e3+5;
int m;
char s[maxn];
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
scanf("%d",&m);
scanf("%s",s);
int len=strlen(s);
int ans=0;
int cnt=0;//个数
for(
HDU6103 Kirinriki(尺取)
最新推荐文章于 2022-04-19 20:35:10 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)