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.
Probably 2 Kyu for having to work real hard to understand the requirements from incomplete descriptions, test cases, the discussion section, and trial and error. Great...
not a kata issue. the JavaScript version has the same requirement, the specification of the function is written in the initial code, that you apparently did not bother reading.
added
if-not:c
guardDescription doesn't mention any specific requirements on
simplify
, yet the C translation has very specific demands on the sign of the numerator and denominator.E.g.
Description says:
however, C translation's function declaration of
simplify
does NOT modify the RationalReally? Good to know. Thanks.
It won't be long until C23 makes K&R "prototypes" illegal, so enjoy them while you can ;-)
wait, Haskell treats chars the same way as if they were numbers? like, he automatically converts char to number like ord() in python?
You win! ;-)
src/test/java/Test_Counter_SampleTests.java:141: warning: [removal] Long(String) in Long has been deprecated and marked for removal
Отличный ката, большое спасибо автору. Главное разобраться со скобками, а дальше в целом не сложно.
For Java it would be helpful it was defined what is the encoding used in
String code
; I'm assuming it's 7 bit ASCII, but it could as well be full Unicode.I've merged the descriptions in this fork. Are there any other changes I should make that I missed ?
Loading more items...