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.
Approved.
Approved.
Done.
As for me it seems like translation should be approved, but I'm not an expert in C, so I can't approve it myself.
Nope, for people who are kinda experienced it's pretty easy to write one-liners from scratch.
Nice simple kata. Btw great idea of including time calculations in the tests.
As for me, it seems that it will be better if time format was something like
'Awesome! You did it in {:6f} seconds'.format(perf_counter() - tic)
Done.
I didn't want to do this because it invalidated almost all solutions, but since you think that it's necessary to follow the standarts, description and test cases are now changed.
I didn't make it impossible to use hex() function and {a:0x}, because issue about this is still not closed. IMHO, this should be done, but not only for Python.
Since you didn't explain why this changed should be made, I'll mark this issue as resolved.
Seems like this kata was abandoned by it's author, so I'll try to push it out of beta myself. I've reworked the description to make it easier to understand + random tests for Python were added. Looking forward to any comments about what else should be done to get it approved.
Fixed.
Negative numbers removed, range changed back to
1 < ai < 10^9
. Description updated according to the changes.I' ve updated the description, so it's said that there won't be any 0 in a given list (There weren't any cases with zeroes because I've thought of a similar problem). With last update I've added cases with negative numbers and shifted the range to -10^7 <
ai
< 10^7.Hello,
Thanks for suggestions, I've added all missing information to description. Also, limits are changed and numbers can go up to 10^9.
Btw, really cool solution. I wanted to try something more interesting than the easiest one, but decided to make it simple to maintain.
Loading more items...