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.
THe instructions are way too involved and confusing for a 7...
Sensei you are brutal! Best Kata I've seen thus far! I'm down to 5 to 6 left to solve. Each one is its own special nightmare ;-) Enhancing the logic to capture additional twists sans breaking anything has been quite the challenge.
Same here - I was staring at this for quite a while wondering how the heck it could be solved...
I forgot ot remove it before submitting - most likely from an earlier attempt to solve this. Fixed it - thanks!
I get a page not found when attempting this in C.
Getting - could not find language on clicking the Attempt button. I tried selecting each language and no go.
Yes that helps thanks!
Under assumptions it states
"the number of pronouns provided will be equal to the number of Noun Phrases in the sentence"
But some of the test cases have fewer pronouns than nouns (sometimes none).
Yep that was it - changed by loop var from i to j and made sure to declare it with var.
Thanks I'll check that now.
I keep getting this:
Time: 4637ms Passed: 37714 Failed: 0 Exit Code: 137
All the way down at the end of the output I see:
Max Buffer Size Reached (1.5 MiB)
I don't yet see how my function could have a memory leak. I want to verify that it's not the tests as there are so many.
Oh that vote :-) Yeah I do that one always.
The answer is quite simple. Instead of being able to click on the little ^ symbol on the upper left to upvote it, you have to notice that there's an ^ Up Vote thingie on the right undernreath the Train Again button that only appears after you solve the Kata. I completed over 200 Katas before spotting it. Maybe I'm rather dense but probaby not. I tried instead to click on the little ^ on the left side where it shows the up vote numerous times before however.
So UI issue - poor usability. It's clearly not just me in this case.
I figured it out. I was using range instead of xrange and thus for large values - out of memory.
Basic tests
Small Numbers
Test Passed
Test Passed
Test Passed
Test Passed
Test Passed
Larger Numbers
Test Passed
Test Passed
Traceback:
in
in total_inc_dec
MemoryError
Python solution - what's this about?
Loading more items...