Ad
  • Custom User Avatar

    You don't need to put brackets for if-elses, by the way. To be more clear: If you're going to run only one thing in if-else, you can ignore brackets.

  • Default User Avatar

    There is a: typedef long long lglg;. The input is long long and the result static std::vector<std::pair <long, long>>.

  • Custom User Avatar

    Hello.
    When I try to submit the solution to this kata in C++ I get errors because the test say that they expect the type "lglg". I think it must be long long.

    Also, I dont understand why the input is type long long and the result expected is of type long.
    Thanks for your answer.