Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
80870 秦浩然 03输出字符序号 C++ Compile Error 0 MS 0 KB 140 2024-07-11 16:45:09

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ char +,-,*,/; cin>>+; cout<<+; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:10: error: expected unqualified-id before '+' token
     char +,-,*,/;
          ^
Main.cc:5:11: error: expected primary-expression before ';' token
     cin>>+;
           ^
Main.cc:6:12: error: expected primary-expression before ';' token
     cout<<+; 
            ^