Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96420 | 翁思宸 | 06字符后移 | C++ | Accepted | 1 MS | 272 KB | 459 | 2024-11-08 18:47:31 |
#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,e,f,g,h; cin>>a>>b>>c>>d; e=((a+1)-96)%26+96; f=((b+1)-96)%26+96; g=((c+1)-96)%26+96; h=((d+1)-96)%26+96; cout<<e<<" "<<f<<" "<<g<<" "<<h<<endl; return 0; }