Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96418 | 吕毅心 | 06字符后移 | C++ | Wrong Answer | 0 MS | 272 KB | 315 | 2024-11-08 18:43:52 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<iomanip> using namespace std; int main(){ char a,b,c,d; cin>>a>>b>>c>>d; a=((a+1)-96)%26+96; b=((b+1)-96)%26+96; c=((c+1)-96)%26+96; d=((d+1)-96)%26+96; cout<<a<<b<<c<<d; return 0; }
------Input------
c e p p
------Answer-----
d f q q
------Your output-----
dfqq