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.
Can you explain to me how that is?
Show me the math on that test string to get a smallest common denominator of
524
please.Here is a wolfram link showing the Least Common Multiple for
138
,1310
, and40
(the denominators from the test case):https://www.wolframalpha.com/input/?i=least+common+denominator&rawformassumption=%7B%22F%22,+%22LCM%22,+%22commonnumbers%22%7D+-%3E%22(138,1310,40)%22&rawformassumption=%7B%22C%22,+%22least+common+denominator%22%7D+-%3E+%7B%22Calculator%22%7D
My PHP Solution is giving me an error as well and it seems to be the same as Sardis93's.
My attempt echo's each test run's input:
everything works as expected until that last test case it errors, giving me:
This is certainly a bug in the Kata I would think. That last test just doesn't check out.
Please take a look @g964