| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152646 | 何旻慧 | 情报加密 | C++ | Wrong Answer | 1 MS | 272 KB | 564 | 2026-04-29 19:32:10 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char a[80],b; cin.getline(a,80); for(int i=1;a[i]!='\0';i++){ if((a[i]<'z'&&a[i]>='a')||(a[i]<'Z'&&a[i]>='A')){ b=a[i]++; cout<<b; } else if(a[i]=='z'||a[i]=='Z'){ b=a[i]+1-26; cout<<b; } else { b=a[i]; cout<<b; } } return 0; }
------Input------
It is my pleasure.
------Answer-----
Ju jt nz qmfbtvsf.
------Your output-----
t is my pleasure.