Cody

Problem 324. 7 segment LED display

Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: http://en.wikipedia.org/wiki/Seven-segment_display)

Examples:

1 -> 2
34 -> 9

Solution Stats

50.89% Correct | 49.11% Incorrect
Last Solution submitted on Feb 26, 2020

Problem Comments


Problem Recent Solvers158

Problem Tags