提交时间:2024-01-26 08:53:37

运行 ID: 128690

#include <bits/stdc++.h> using namespace std; int main() { char c; while((c=getchar())!='\n') { if((c>='a' && c<='z') || (c>='A' && c<='Z')) { c+=4; if(c>'Z' && c<='Z'+4 || c>'z') c-=26; } cout<<c; } cout<<endl; return 0; }