Compile Error
foo.cc: In function 'int main()': foo.cc:10:14: error: expected unqualified-id before '<<' token 10 | std::<<"十进制:"<<dec<<",二进制:"<<conv_dec_to_bin(dec)<<std::endl | ^~ foo.cc:10:47: error: 'conv_dec_to_bin' was not declared in this scope 10 | std::<<"十进制:"<<dec<<",二进制:"<<conv_dec_to_bin(dec)<<std::endl | ^~~~~~~~~~~~~~~ foo.cc:5:9: warning: unused variable 'bin' [-Wunused-variable] 5 | int bin=0; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1080 xf1-3进制转换1
- 语言
- C++
- 递交时间
- 2022-08-27 09:56:08
- 评测时间
- 2022-08-27 09:56:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes