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.
Me every time I hit "submit"
Exactly my thoughts, £1p is nonsensical; leading "£" and trailing "p" should only be allowed if the value contains a decimal point.
I second this, or just freaking array would make more sense. The problem says to return a [x, y], I shouldn't have to poke through the test cases to figure it wants an vector with 2 entries.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In C++, it would be more appropriate to use a return type of pair rather than vector; this is probably the same for any other supported languages which have the concept of a pair or tuple.
This comment is hidden because it contains spoiler information about the solution