Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82696 赵文浚 加密的病历单 C++ Wrong Answer 0 MS 276 KB 440 2024-07-13 14:45:22

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char a[51]; cin>>a; int len=strlen(a); for(int i=0;i<len;i++) { if(a[i]>='A'&&a[i]<='Z') { a[i]+=3; if(a[i]>'z') { a[i]-=26; } } else { a[i]+=3; if(a[i]>'Z') { a[i]-=26; } } } for(int i=len-1;i>=0;i--) { cout<<a[i]; } cout<<endl; return 0; }


Run Info:

------Input------
QkuGixGiCRBSbSfYmYxtQsPuHaYSYYKSVYuywxqiHIBqOQOnp
------Answer-----
SQrtrTelkLTAZBXbyvnbbvbDkXsVtWAbPbIvEveufLjALjXNt
------Your output-----
YWRTRZELKRZa`b^\YVN\\V\JK^S\T]a\V\OVKVEUFRJaRJ^TT