Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71837 韩墨濡 03ASCLL码转字符 C++ Compile Error 0 MS 0 KB 122 2024-04-27 17:29:17

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ input>>x>>endl; a=(char)(x); cout<<a<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:5: error: 'input' was not declared in this scope
     input>>x>>endl;
     ^
Main.cc:4:12: error: 'x' was not declared in this scope
     input>>x>>endl;
            ^
Main.cc:5:2: error: 'a' was not declared in this scope
  a=(char)(x);
  ^