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)提供评测服务