Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125818 | 赵梓渊 | 03字符加密 | C++ | Compile Error | 0 MS | 0 KB | 115 | 2025-07-15 15:37:06 |
#include<bits/stdc++.h> using namespace std; int main() { int; cin >> c; cout << (char c)+n; return 0; }
Main.cc: In function 'int main()': Main.cc:4:2: error: declaration does not declare anything [-fpermissive] int; ^ Main.cc:5:9: error: 'c' was not declared in this scope cin >> c; ^ Main.cc:6:11: error: expected primary-expression before 'char' cout << (char c)+n; ^ Main.cc:6:11: error: expected ')' before 'char'