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.
I see you are new at CW... Sorry but asking for help is not an issue.
Getting an error with clojure, my code is returning a vector with the correct results, but it's still failing:
Test Failed
expected: (= (sq-in-rect 240 32) [32 32 32 32 32 32 32 16 16])
actual: (not (= nil [32 32 32 32 32 32 32 16 16]))
Wondering if anyone can help
Superb kata! I found it challenging and time-consuming, but it caused me to to learn a lot about the use of Racket.
I'm glad you liked it!
Excellent kata! Very enjoyable. Solving it has taught me a lot more Racket. Thanks, g964 - please keep them coming|
Thanks for your dedication to Racket!
I have followed your suggestion.
Interesting like all your katas that I have tried, g964. In my opinion (for what it is worth), it is a good programming exercise. Aesthetically, it is regrettable that the "third part" - greatest number - has little connection to complex numbers, but I can see why it is there. Would it be appropriate to hint, in the description, that Racket 'match' might be useful?
Another nice kata, g964.
Thanks! If you have time you could take "Sum of Parts" and "Magnitude".
An excellent and interesting kata. I never would have thought that numbers could be represented in a "factorial base". Thank you for your work (especially in Racket), g964.
Thanks!
I enjoyed working on this kata. Thank you, g964, for your work in putting this into Racket.
At last I understood your problem... Note that if (-e, -f) or (-e, f) or (e, -f) is a solution (e, f) is a solution too. So you don't have to eliminate a number if it is negative but simply take its absolute value. "(e and f integers >= 0)" in the task means that you have to return only the positive values taking the absolute values. I hope I am clear but I am not sure of that:-) Cheers.
lmao
Loading more items...