Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
128739 刘语晗 电文保密 C++ 通过 100 0 MS 244 KB 243 2024-01-26 09:13:02

Tests(2/2):


#include <bits/stdc++.h> using namespace std; int main() { char c; while((c=getchar())!='\n') { if((c>='a'&&c<='z')||(c>='A'&&c<='Z')) { c+=4; if(c>'Z'&&c<='Z'+4||c>'z') c-=26; } cout<<c; } cout<<endl; return 0; }


测评信息: