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.
Same thing for python
fwiw, same problem in go - the simplest naive solution worked, to my surprise.
I don't see why it is an issue... I put the tag "Optimization" because some comments said that brute force was not sufficient.
The kyu is not given by the author but by a moderator.
C++ waas one of the last translation hence I reduced the range in random tests. Moreover C++ seems to be very fast at CW. Last: maybe you are too good, you have almost exactly the same solution as mine:-)
Thanks for your posts. I was at last able to fix that.
If you edit the kata you will see at the first line of public tests:
using namespace std;
but when you "Train" or "Train Again" CW doesn't show it and doesn't use it!...
despite the fact that I re-published the C++ translation a lot of times.
Sorry for the inconvenience! Fortunately it is easy to fix by the user all the more
that there are no problem in the ""Submit tests.
This comment is hidden because it contains spoiler information about the solution
I think this will add a list inside a list