| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159525 | 赵锦鹏 | 情报加密 | C++ | Wrong Answer | 1 MS | 264 KB | 351 | 2026-09-05 09:58:46 |
#include <iostream> #include <cstring> char a[80]; using namespace std; int main() { gets(a); int len=strlen(a); for(int i=0;i<len;i++) { if(a[i]=='z') { a[i]='a'; } if(a[i]=='Z') { a[i]='A'; } if((a[i]>='a')&&(a[i]<='y')||(a[i]>='A')&&(a[i]<='Y')) { a[i]+=1; } } cout<<a; return 0; }
------Input------
iuyiwjkkshudbcmzm
------Answer-----
jvzjxklltivecdnan
------Your output-----
jvzjxklltivecdnbn