Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5040 黄子晋 03输出字符序号 C++ Compile Error 0 MS 0 KB 118 2024-10-27 14:27:54

Tests(0/0):


Code:

include <iostream> using namespace std; int main(){ char c; cin>>c; cout<<int(c) ; return(0); }


Run Info:

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