Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
111190 | 郭湛文 | 06字符后移 | C++ | Accepted | 1 MS | 272 KB | 575 | 2025-03-01 10:32:45 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char a,b,c,d; cin>>a>>b>>c>>d; a+=1; b+=1; c+=1; d+=1; if(a>'z') { a-=26; } if(b>'z') { b-=26; } if(c>'z') { c-=26; } if(d>'z') { d-=26; } cout<<a<<" "<<b<<" "<<c<<" "<<d; return 0; }