Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77480 罗迎甲 03输出字符序号 C++ Compile Error 0 MS 0 KB 108 2024-06-09 16:16:33

Tests(0/0):


Code:

include<iostream> using namespace std; int main(){ char ch; int a; cin>>ch; a=ch; cout<<a;


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include
 ^
Main.cc: In function 'int main()':
Main.cc:6:2: error: 'cin' was not declared in this scope
  cin>>ch;
  ^
Main.cc:10:2: error: 'cout' was not declared in this scope
  cout<