Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
There is a:
typedef long long lglg;
. The input islong long
and the resultstatic std::vector<std::pair <long, long>>
.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.