Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99430 | 罗睿妍 | 03字符转ASCLL码 | C++ | Compile Error | 0 MS | 0 KB | 167 | 2024-11-28 22:02:38 |
#include <iostream> using namespace std; int main() { cher ch; int n; cin>>ch; n=ch; cout<<ch<<endl; cout<<n<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:5:5: error: 'cher' was not declared in this scope cher ch; ^ Main.cc:7:10: error: 'ch' was not declared in this scope cin>>ch; ^