2 kyu
Making squares with lines
Loading description...
Algorithms
Performance
Mathematics
Number Theory
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.
This one is crazily cool and rewarding. It should be translated to
Python
by a someone.Could we at least have the number of succeeded tests if we time out?
Because 200000 is a (very) unusual number of tests!
The big random tests now print
$N tests passed
every certain number of testsRandom tests are not very helpful; straight out dumping 200000 random tests of full input range makes the kata impossible to debug.
Can we have smaller random tests of smaller input ranges (that doesn't stop on first failure) before the performance tests?
Smaller tests have been added
A tough but rewarding kata, thanks! Still a few minor issues here.
Node v18 should be enabled.
chai
andassert
should be used.performance
andnumber theory
tags should be added.fork
Someone else has already approved the fork.
Though
number theory
tag is still missing, so I added it.I just changed the input/output ranges.
Don't worry, it will only make brute force harder.
This comment has been hidden.
This comment has been hidden.