Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133037 xyc 03ASCLL码转字符 C++ Compile Error 0 MS 0 KB 108 2025-10-13 17:25:16

Tests(0/0):


Code:

#include <iostream> input output using namespace std; int main{ char A; cin>>A; int 65=A; cout<<65; }


Run Info:

Main.cc:1:21: warning: extra tokens at end of #include directive
 #include  input output
                     ^
Main.cc:4:1: error: expected primary-expression before 'char'
 char A;
 ^
Main.cc:4:1: error: expected '}' before 'char'
Main.cc:4:1: error: expected ',' or ';' before 'char'
Main.cc:5:1: error: 'cin' does not name a type
 cin>>A;
 ^
Main.cc:6:5: error: expected unqualified-id before numeric constant
 int 65=A;
     ^
Main.cc:7:1: error: 'cout' does not name a type
 cout<<65;
 ^
Main.cc:8:1: error: expected declaration before '}' token
 }
 ^