6 kyu
The Sum of The First and The Last Prime Factor Make Chains of Numbers
129 of 256raulbc777
Loading description...
Mathematics
Data Structures
Algorithms
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.
In C# nMax is not included in range : Test Failed Input -> k = 102, nMax = 1817 Expected = [485,1157,1577] Actual = [485,1157,1577,1817] Expected is <System.Int32[3]>, actual is <System.Int32[4]> Values differ at index [3] Extra: < 1817 >. 1817 has two prime factors 23 and 79 with their sum of 102 wich equal k. In description says that nMax included in range.
This comment has been hidden.
I see that. But this is doesn't match description. )
Really funny and easy kata, congratulations.
Description should be language-agnostic
JS Node 14. should be enabled
Python new test framework should be used
Parameter name should be
snake_case
Upadted the testing framework.
Go translation
Thumbs up (+1)
Rust translation
Approved! (+1)
D translation
Approved (+1)
C# Translation
Approved (+1)
Good one..
Empty
it
blocks must be removed from tests.This comment has been hidden.
This comment has been hidden.
Hi, Ethane. I tested your solution and passed all the tests. It's not in my hand to solve the problems you mentioned. Report it as an issue in the Forum section. Thanks for your time in solving this kata and for the feedback, too.