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.
Try again. Sometimes CW has problems.
I am the only one experiencing this problem?
"Request failed with status code 500
This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request."
Because the chars in
text
should be assigned to, otherwise a copy would be assigned to.In fact it is creating reference to char instead of deep copy of char. But considering char is small (1 byte guaranteed) it does not have any benefit here. And how guy bellow mentioned because I want to modify the string.
cool
Excellent! Bro.
I try to solve all katas below 6 kyu in one line that is why I came up with this.
nice, dude, i came to the same solution
generally good direction, but you will never write such things in the product code
looks like this kata only about math knowledge, i dont know formula which can replace brute force, lol
Thanks! ;)
good job man!
oh my, never do this in real project
I just can`t pass this test on C++, submit returns this:
Time: 15ms Passed: 0 Failed: 0
Test Results:
listSquared_Tests
Fixed_Tests
Function looks normal.
Loading more items...