| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160234 | 邓弘锐 | 情报加密 | C++ | Wrong Answer | 0 MS | 272 KB | 353 | 2026-09-13 14:44:14 |
#include<bits/stdc++.h> using namespace std; string s; int main(){ cin>>s; int len = s.size(); for(int i=0;i<=len-1;i++){ if(s[i]>='a'&&s[i]<'z'){ s[i]+=1; } if(s[i]=='z'){ s[i]='a'; } else if(s[i]>='A'&&s[i]<'Z'){ s[i]-=1; } if(s[i]=='A'){ s[i]='Z'; } } cout<<s; return 0; }
------Input------
It is my pleasure.
------Answer-----
Ju jt nz qmfbtvsf.
------Your output-----
Hu