| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75794 | 付博苏逸 | 03输出字符序号 | C++ | Compile Error | 0 MS | 0 KB | 244 | 2024-05-28 20:24:38 |
#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; a = +; b = -; c = *; cout<<int(a); cout<<int(b); cout<<int(c); return 0; }
Main.cc: In function 'int main()':
Main.cc:8:10: error: expected primary-expression before ';' token
a = +;
^
Main.cc:9:10: error: expected primary-expression before ';' token
b = -;
^
Main.cc:10:10: error: expected primary-expression before ';' token
c = *;
^