题目
题目链接
题解
实现题。
太简单了,就是遍历字符串,拼接一下就可以了。
代码
#include
using namespace std;
string s;
int m;
int main()
{
cin>>s>>m;
while(m--) {
string ss;
int cnt = 1;
for(int i = 1;i
关注
打赏
题目链接
实现题。
太简单了,就是遍历字符串,拼接一下就可以了。
#include
using namespace std;
string s;
int m;
int main()
{
cin>>s>>m;
while(m--) {
string ss;
int cnt = 1;
for(int i = 1;i
关注
打赏
微信扫码登录