记录详情

Compile Error

foo.cc: In function 'std::string Binary(int)':
foo.cc:16:12: error: expected 'while' before 'binary'
   16 |     return binary;
      |            ^~~~~~
foo.cc:16:12: error: expected '(' before 'binary'
   16 |     return binary;
      |            ^~~~~~
      |            (
foo.cc:16:12: error: could not convert 'binary' from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'bool'
   16 |     return binary;
      |            ^~~~~~
      |            |
      |            std::string {aka std::__cxx11::basic_string<char>}
foo.cc:16:18: error: expected ')' before ';' token
   16 |     return binary;
      |            ~~~~~~^
      |                  )
foo.cc:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
   17 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
语言
C++
递交时间
2023-12-20 20:18:25
评测时间
2023-12-20 20:18:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes