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.
Updated
Language version is invalid.
Fixed
Thanks for review!
Random tests still don't generate negative values.
Here Updated C Translation
I did this too... But I'm not sure it was the intended solution.
I used this way too =)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Simple as
Hello, thanks for comment.
Unfortunately there is no sense to refactor translation, because author won't accept this.
But in thanks to your review i'll do this.
Final and sample tests are swapped.
Fixed.
The random number generator isn't seeded correctly.
Fixed and also fixed that numbers were generated in range from 0 to 100, now it's from 0 to 1000. But i don't remember, maybe, i did generation from 0 to 100 specially.
Undeclared identifiers: srand, rand.
Fixed. I didn't notice this
Final and sample tests are swapped.
The random number generator isn't seeded correctly.
Undeclared identifiers:
srand
,rand
.