Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75712 彭诗媛 03字符转ASCLL码 C++ Compile Error 0 MS 0 KB 197 2024-05-28 19:20:19

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ char a='A'; //定义一个字符类型的变量 cin>>a; //输入字符 a = 97 cout<<a;//输出 return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:5: error: expected ';' before 'cout'
     cout<