Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
103237 陈海林 03字符加密 C++ Compile Error 0 MS 0 KB 160 2024-12-28 14:50:52

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { char n1; intn=2; cin>>n1; char c2=((c1-65)+)%79+65; cout<<c2; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: 'intn' was not declared in this scope
     intn=2;
     ^
Main.cc:8:15: error: 'c1' was not declared in this scope
     char c2=((c1-65)+)%79+65;
               ^
Main.cc:8:22: error: expected primary-expression before ')' token
     char c2=((c1-65)+)%79+65;
                      ^