| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159523 | 赵锦鹏 | 情报加密 | C++ | Wrong Answer | 0 MS | 264 KB | 348 | 2026-09-05 09:54:59 |
#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]>='a')&&(a[i]<='y')||(a[i]>='A')&&(a[i]<='Y')) { a[i]+=1; } if(a[i]=='z') { a[i]='a'; } if(a[i]=='Z') { a[i]='A'; } } cout<<a; return 0; }
------Input------
It is my pleasure.
------Answer-----
Ju jt nz qmfbtvsf.
------Your output-----
Ju jt na qmfbtvsf.