5 kyu
(m, k)-Perfect Number
42 of 59MicheDev
Loading description...
Mathematics
Performance
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.
missprint in java tests: function testSmallNumber2 is repeated two times -> compilation error
Kata is approvable:
ultimate lol...
yep o_O
Needs better random tests structure in all languages.
fixed for Python, C#, Java.
fixed
The equation in the kata description is not displayed properly:
It looks ok to me, is this issue solved?
Author can use KaTex, for example:
There no longer is an author. Could you propose the fork saudiGuy, I'll approve it
Tests in Python are random now.
Inserted many tests in C# version because is faster than others.
Added C# translation
(Python) In the tests, the arguments order should be reversed, to look like this:
Test.assert_equals(first_mk_perfectnumber(2,3), 8)
Otherwise in case of a test failure the resulted and expected values would be changed places in the diagnostic.Solved, sorry i have done confusion with JUnit Tests
Added Java version