Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
63114 李志奇 03字符转ASCLL码 C++ Compile Error 0 MS 0 KB 146 2024-01-06 11:29:30

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char po='A'; cin >>po int ty='a'; cout << ty; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:6: error: expected ';' before 'int'
      int ty='a';
      ^
Main.cc:7:14: error: 'ty' was not declared in this scope
      cout << ty;
              ^