Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94335 陈治宸 03字符加密 C++ Compile Error 0 MS 0 KB 209 2024-10-20 11:59:28

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ char c1; int n=2; cout<<"请输入一个大写字母;"<<endl; cin>>c1; char c2=((c1-65)+n)%26+65; cout<<c2<<endl; return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:13: error: expected '}' at end of input
     return 0;
             ^