Ad
  • Default User Avatar

    Your solution is compiling and running on Codewars too. It's just that it's getting the answer wrong -- and the Codewars test framework is reporting this rather ungracefully, because it doesn't seem to know about tuple types in C++.