Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102502 钱恩浩 06字符后移 C++ Wrong Answer 1 MS 264 KB 363 2024-12-21 18:14:33

Tests(0/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-'b')%26+'b'; c=(c+1-'c')%26+'c'; d=(d+1-'d')%26+'d'; cout<<a<<b<<c<<d; return 0; }


Run Info:

------Input------
c e p p
------Answer-----
d f q q
------Your output-----
dfqq