Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1298 杨洋杰 03字符加密 C++ Accepted 0 MS 260 KB 168 2023-08-23 15:47:14

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int n=2; char ch; cin>>ch; ch=(ch-'A'+n)%26+'A';//(ch-'A' +n)%26+'A'; cout<<ch<<endl; return 0; }