5 kyu
Broken 7-segment display - dead segment [code golf]
20mauro-1
Loading description...
Logic
Fundamentals
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.
This comment has been hidden.
I'm sorry, but the second and third examples don't make much sense. | | and _ |_ |_|
are both valid and clear numbers that both utilize the 'c' segment in their display, yet the 'c' segment is declared dead. The same goes for: _ _| _|
(blank)
_ | |
These are all valid and clear displays that don't utilize the 'f' segment yet the 'f' is declared dead. In neither of these examples is the dead segment evident. Might I suggest that you either use different numbers or displays that clearly show a segment as dead or write the numbers that are supposed to be displayed to highlight what the actual issue is. (If there is something obvious that I am missing, please point it out.)
The dead segment is either always on or always off.
All numbers look good.
The dead segment looks like a normal segment, it isn't highlighted or of different color. Finding the dead segment is your task.