Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102503 钱恩浩 06字符后移 C++ Accepted 1 MS 276 KB 378 2024-12-21 18:19:04

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() using namespace std; int main(){ char a,b,c,d; cin>>a>>b>>c>>d; a=(a+1-'a')%26+'a'; b=(b+1-'a')%26+'a'; c=(c+1-'a')%26+'a'; d=(d+1-'a')%26+'a'; cout<<a<<" "<<b<<" "<<c<<" "<<d; return 0; }