Ad
  • Custom User Avatar

    Was also a lot less work than the 1kyu and 2kyu ones I did; solution is quite small even. Thinking wise it's a bit you'll have to chew through, but I guess the same applies to the harder problems if you don't happen to be familiar with the area yet.

  • Custom User Avatar

    Looks fine to me now?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    It would be so nice if this was available for C++ as well.

  • Custom User Avatar

    The C++ variant is not very well executed. The data types and ways of use will cause your solution to have bugs caused by them, and the interface is 100% a C interface. It could do with moving to std::vector<uint8_t> instead of a newly invented struct for entering binary data, and a std::string for returning the stringified version. This would also avoid the hour of debugging I had at the end, due to not casting away the ugly entry types in all spots. This also makes it harder to have a good solution, as you start with the bad interface.