Ad
  • Custom User Avatar

    I would just like to know if there is some minor compiler setting that I might have overlooked and it caused my tests to fail...

    No, Codewars does not require you to mess with compiler options to get things to work. If your solution does not pass tests for some reason, the code is most probably not completely correct.

    I am available on Codewars Discord, but you can post your code here in the kata discourse even if it does not pass tests: https://docs.codewars.com/training/troubleshooting#post-discourse

  • Custom User Avatar

    My c++ solution still works, so I believe the kata is OK. its hard to say without seeing your code, but if i were to guess, I'd check if you have no trailing or leading junk characters in returned string.