Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104654 | 周宸宇 | 06字符后移 | C++ | Accepted | 1 MS | 272 KB | 474 | 2025-01-06 19:14:49 |
#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; int e,f,g,h; e=a+1; f=b+1; g=c+1; h=d+1; cout<<(char)((e-97)%26+97)<<' '<<(char)((f-97)%26+97)<<' '<<(char)((g-97)%26+97)<<' '<<(char)((h-97)%26+97); }