Ad
  • Default User Avatar

    Could you please check test cases (as already user ds13 wrote). It seems that there's incorrect result for input "1804289383".

  • Default User Avatar

    I'm not quite sure about it, but seems that there should be "std::string" instead of "string" in the function proposal.

    BTW. I've enjoyed your's task