0 Compile Error
foo.cc: In function ‘int main()’: foo.cc:4:21: error: expected primary-expression before ‘<<’ token 4 | cout<<1234*5678=<<; | ^~ foo.cc:4:23: error: expected primary-expression before ‘;’ token 4 | cout<<1234*5678=<<; | ^
代码
#include<bits/stdc++.h>
using namespace std;
int main(){
cout<<1234*5678=<<;
return 0;
}
信息
- 递交者
- 题目
- P5 【例3.1】 输出表达式的值
- 语言
- C++14(O2)
- 代码长度
- 96 Bytes
- 递交时间
- 2025-4-15 22:57:53
- 评测时间
- 2025-4-15 22:57:53
- 分数
- 0