5 kyu
Sudoku board validator - Code Golf
60 of 66Captain Quack
Loading description...
Algorithms
Games
Restricted
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.
Missing fixed tests that check for solutions that only check that each line and block has sum
45
.This edge case occurs in random tests, but only rarely.
👍
Small typo
Thats not what the sentence says...
In the tests
Oh ok 👍
Actually, considering that your best was 100 (and your rank of 1 dan), how about bumping it up to 120? That would allow for a bit of wiggle room, just in case.
I think
100
is a good limit for Haskell.100
is plenty, you can go to 89 and probably less with more obscure imports.Haskell translation
this translation modifies the description.
code length limit is
100
. that's as small as I could make it; it may be too restrictive or too lenient, but that can be adjusted later.code length is counted without boilerplate and without imports. there are too many things you can't do without imports; just making them free did not seem to detract from the intent.
Looks great, thanks.
The extra lines are fine, it seems to total down to roughly the same length.
Is it essential that the code be a single line? Please consider lifting this restriction.
Ok.
Hi,
it
block even when the test is passing, so that the user can always know "where" he is.Cheers
Kwek kwek kwek, approved!
yay!