I translated this to C++. Could anyone help me to publish it? It needs to Approve.
In c++ they forget to put a ";" at the end of the class initialization. It must be:
#include <string> class Negabinary{ public: static std::string ToNegabinary(int i); static int ToInt(std::string s); };
This is the only case that I cannot understand and tried to recognize which forgotten ";" there in class initialization. So please fix it.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
I translated this to C++. Could anyone help me to publish it? It needs to Approve.
In c++ they forget to put a ";" at the end of the class initialization. It must be:
This is the only case that I cannot understand and tried to recognize which forgotten ";" there in class initialization.
So please fix it.
This comment is hidden because it contains spoiler information about the solution