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.
AI was very handy in generating all of 1-19 and 20-90 without doing it by hand :)
I accidentally implemented
mult
aspow
and didn't realise because the test case formult
said it was correct (2*2
,2^2
)This comment is hidden because it contains spoiler information about the solution
What is the purpose of disallowing
print
andsys
for Python?Cool solution bro
Cool solution bro
Haskell:
'expected -7.438096897115541 but got -7.438096897115539'
Possibly I'm making errors, but on the random tests it's always slightly off.
Should the error tolerance be increased for the random tests? Other issues mention 1e-06, but these numbers' difference is clearly < that.
Perhaps it's due to the me parsing a string to a double character-by-character and not using read.
Yeah I kinda just looked at another Haskell kata and used the same testing format; I guess I got unlucky and picked one that didn't use QuickCheck.
Test code is just normal code that's not intended to be clever, but I'm flattered nonetheless.
I spent many frustrating hours trying to get the whole thing to be accepted and this was the only way it would even accept the code (see comment at the top of the preloaded code). It seemed to not let it submit because the 'solution' was not correct unless I also preloaded the solution. Absolute pain :/ . What should the modules be called?
Anyone know how I can contribute a language to this Kata?
This comment is hidden because it contains spoiler information about the solution