Malones


私信TA

用户名:Malones

访问量:3745

签 名:

seize the day

等  级
排  名 1493
经  验 2732
参赛次数 0
文章发表 22
年  龄 0
在职情况 学生
学  校
专  业

  自我简介:

参考代码:

#include<bits/stdc++.h>
using namespace std;
int main(){
        int start, step;
        int i;
        string str;
        cin >> str;
        cin >> start >> step;
        for( i = start; i < str.length(); i += step)
                cout << str[i];
        return 0;
}


 

0.0分

0 人评分

  评论区