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.
Why using area and perimeter rules doesn't give the right answer?
I have created yet another sometime pass solution which got past random testing on the first try, but will fail a tests such as:
Random testing should be strengthened to guarantee such tests appear.
Please, check if input '39.63° S, 100.00° W', '23.13° S, 35.97 W' should return 3300KM or something different because I didn't pass this test in the first attempt. It showed that the correct result was about 6100KM.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/178.
Please join the discussion to help us identify duplicate kata and retire them.
This comment is hidden because it contains spoiler information about the solution
Go Translation awaiting approval. Please take a look?
https://www.codewars.com/kata/5808dcb8f0ed42ae34000031/translations#:~:text=%22Switch%20it%20Up!%22%20Go%20Translation
This comment is hidden because it contains spoiler information about the solution
Ruby 3.0 should be enabled, see this to learn how to do it
Ruby 3.0 should be enabled, see this to learn how to do it
Ruby 3.0 should be enabled.
I think at least one more basic tests should be added because with only two examples we cannot be sure of what we're supposed to do.
No tests with superfluous character at the beginning/end of the string.
Ruby translation kumited, including an updated description -- please check and approve (note: author is inactive)
in python at least, the random tests are sending inputs that aren't triangles... (like 6,55,93)
Task is unclear. ( I was expecting eight coordinates as input, and worrying about all sorts of rotations already. )
Also, what's wrong with uninteger numbers? A cube with a volume of 2 or 99 is a perfectly good cube.
I'd commend you for all the maths gobbledygook, but you copied that from Wikipedia, and it has nothing whatsoever to do with the task.
Loading more items...