0分,求各位大神帮帮我
查看原帖
0分,求各位大神帮帮我
1245694
wjm2012楼主2024/10/23 12:30
#include<bits/stdc++.h>
using namespace  std;
int  main(){
	int n;
	cin>>n;
	string s="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
	for(int i=0;i<25;i++){
		if((i+n)>=25){
			cout<<s[(i+n)%25];
		}else{
			cout<<s[i+n];
		}
	}
return 0;
}

回帖必关,帮帮我这个 (爇籍)弱鸡

2024/10/23 12:30
加载中...