6 kyu
Super Coordinate Sums!
214 of 346LSmith-Zenoscave
Loading description...
Mathematics
Puzzles
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.
Nice, however just like a lot of them, this is also more like a math challenge.
python new test framework is required. updated in this fork
.
C# Translation
As it took me a while to understand it, here is an example of 3D3N: [ [[[0,0,0],[0,0,1],[0,0,2]],[[0,1,0],[0,1,1],[0,1,2]],[[0,2,0],[0,2,1],[0,2,2]]], [[[1,0,0],[1,0,1],[1,0,2]],[[1,1,0],[1,1,1],[1,1,2]],[[1,2,0],[1,2,1],[1,2,2]]], [[[2,0,0],[2,0,1],[2,0,2]],[[2,1,0],[2,1,1],[2,1,2]],[[2,2,0],[2,2,1],[2,2,2]]] ]
Elixir translation awaiting approval.
Racket translation
The description is very confusing for anyone that is not native speaker, please make it clear what I need to do to complete this kata.
[ [(0,0), (0,1), (0,2)], [(1,0), (1,1), (1,2)], [(2.0), (2.1), (2.2)] ]
Ruby translation
Thanks :)
What would someone who does not recognize this from school google to learn about it?
I don't undestand what D and N means, because the example is very confusing, so if N is the length of each item of the array and D is the length the array, D=2, N=3 results in a array of 2 lengths, with each item being an array of 3 elements, but the example shows an array of 3 elements by 3 elements, which contradicts the paragraphs before. The description is very confusing for anyone that is not native speaker, please make it clear what I need to do to complete this kata. Thanks.
D is the number of dimensions, N is the length on each dimension.
=> D=2, N=3 means a "2D squared array" 3x3. No contradiction with the description, afaik.
Ok, i just got confused with the wording, thank you for explaining.
Nice kata. On the large Python tests my code output experiences precision error (1E-12 or so) on here but is arbitrarily precise when I run on my personal machine (python 3.7.3). Anyone have a suggestion?
Stick to int.
Thanks!
Prolog Translation with random tests, please approve!
An update to GHC 8: https://www.codewars.com/kumite/5978dad7918cb986c900006c?sel=5e397e6c967a6e0015784398
Approved.
JS translation (which has random tests), please approve!
This comment has been hidden.
Needs random tests
How do I do random tests without giving the answer up? I am not sure where to put them (first kata made)
I added some for Python. Please let me know if the value ranges are appropriate
I think it looks good now.