10 条题解

  • 1
    @ 2025-11-23 15:28:44

    cpp

    #include <bits/stdc++.h>
    using namespace std;
    int main(){
    	char a[1000],b[1000];
    	cin.getline(a,1000);
    	int la= strlen(a);
    	for(int i = 0; i < la; i ++){
    		if(a[i] >= 'A' && a[i] <= 'Z'){
    			a[i] -= 5;	
    			if(a[i] < 65){
    			a[i] += 26;
    			}
    		}
    		
    		cout << a[i];
    	}
    }

信息

ID
1110
时间
1000ms
内存
128MiB
难度
5
标签
递交数
613
已通过
247
上传者