神 • 25天前
using namespace std; int main(){
string s;cin>>s; int a,b;cin>>a>>b; for(int i=a;i<s.size();i+=b) cout<<s[i];
}
评论:
请先登录,才能进行评论