记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:9:14: error: expected unqualified-id before '<<' token
    9 |         std::<<"十进制:"<<dec<<",二进制:"<<conv_dec_to_bin(dec)<<std::endl
      |              ^~
foo.cc:9:47: error: 'conv_dec_to_bin' was not declared in this scope
    9 |         std::<<"十进制:"<<dec<<",二进制:"<<conv_dec_to_bin(dec)<<std::endl
      |                                               ^~~~~~~~~~~~~~~
foo.cc:4:9: warning: unused variable 'bin' [-Wunused-variable]
    4 |     int bin=0;
      |         ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1080 xf1-3进制转换1
语言
C++
递交时间
2022-08-27 09:56:47
评测时间
2022-08-27 09:56:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes