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.
Seccessfuly pass all the tests in c++
I got 5295ms
Thank you
respect
That's 20 1's and 10 2's. 20 + 20 = 40 total.
We increase to size 2 after eating 4, so there's 36 left
We increase to size 3 after eating 8 more, so there's 28 left
We increase to size 4 after eating 12 more, so there's 16 left
We increase to size 5 after eating 16 more, with 0 left
Accomplished in c++
May I allow to know what are the vertices for the secod test? So I know what does it mean vertex.
Solved in the first attempt
C++
It is ok.
Asking for a kata translation is not a kata suggestion. There is a pending C++ translation here you may review it if you feel like it, but make sure they are in-line with the translating guidelines
Can somebody, please write this code for C++ program?
Logical I don't understand how is the right solution 5, I think it' 4.
For example, if your size is
2
and you encounter a fish of size3
, you must wait to be of at least size3
to eat it (if you ever reach size3
). Your solution don't take size into consideration.Your solution re-eats the same fish for each level.
Can anyone explain me:How we get for "111111111111111111112222222222" the length of the fish is 5?
I've found it
1111 (2) 2222 (3) 111111111111 (4) 1111222222 (5)
Can anybody explain me for example AsiqS%:vh how do get "G&HPsf9c?
ASiQS%:Vh
First step A->0 S->18 => 0-18+77=59 That is '7' not 'G'
...
Loading more items...