4 kyu
Save Mark Watney- The Martian!
97 of 236iamchingel
Loading description...
Algorithms
Mathematics
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Something is wrong with JS (probably not all details are presented in decription). Just 10 tests passed, rest just missing some +/- 10-20 KM. For kata from issue (as second duplicated) code works fine. It has 4-th level just because of some wierd roundings somewhere.
JS is OK, your solution has a couple of errors. After fixing three (or so) incorrect thngs in your solution I was able to make it pass.
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 is a duplicate of https://www.codewars.com/kata/the-captains-distance-request
This needs random tests as it is an advanced Kata. Otherwise it would be too easy to hack your way through it.
You can re-use the random tests I created on the TypeScript translation
I took the liberty to add the random tests on JS version and fixed my vote to Very Satisfied!
Thank You :)
TypeScript translation
Very nice Kata!
I will add random tests as per your request...you say "very nice kata" but you clicked on "Not Satisfied" :( Approved your translation btw!
how to see who click which button? I want to know ;-)
You cant actually see that....I remembered that there were all "Satisfied" votes before his solution and vote :P
Why don't you solve it @myjinxin2015 Lord ? :D
Hmm, I did click Very at first, but I guess it changes automatically if you create an issue
Description is too long, I don't completely understand the rules of kata, and I don't know how to calculte it ;-)
Great Kata, really enjoyed it.
Spelling error in the details: "caredful"
Fixed, thanks!