+ 4
Your binary() function has return type `int`, so you can't return a std::vector from it. Change the return type of binary() to `vector<int>`. Also, on lines 50, 68 and 60, you are using the name `and` for your variable. `and` is a keyword in C++, so you can't use it as a variable name. Change it to something else.
1st Apr 2022, 7:48 AM
XXX
XXX - avatar