| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 81974 | sh25_shenpy | Caesar加密 | C++ | Compile Error | 0 MS | 0 KB | 367 | 2026-01-09 16:51:23 |
#include<bits/stdc++.h> #include<cstring> using namespace std; int main(){ string s; cin>>s; for(int i=0;i<strlen(s);++i){ if(isalpha(s[i])==true){ if(s[i]>='a'&&s[i]<='e') s[i]+=26; if(s[i]>='A'&&s[i]<='E') s[i]+=32; cout<<(char)(s[i]-5); } else cout<<s[i]; } return 0; }