Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72229 李雨昊 03字符转ASCLL码 C++ Compile Error 0 MS 0 KB 185 2024-05-04 14:51:38

Tests(0/0):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<iomanip> using namespace std; int main() { char a cin>>a; cout<<int (a); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:2: error: expected initializer before 'cin'
  cin>>a;
  ^
Main.cc:13:13: error: 'a' was not declared in this scope
  cout<