Back
Close
  • 829

Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.

Statement

 Goal

Given an ASCII art representation of 7-segment display you need to convert it to a number.

Note: number should be converted as is, including leading zeroes.
Input
3 lines: 7-segment display image consisting only of vertical lines, underscores and spaces.
Length of every line is divisible by 3 (so trailing spaces are preserved).
Output
One line: The number. Leading zeros should be preserved.
Constraints
3 ≤ digit count ≤ 300
Example
Input
 _     _  _     _  _  _  _  _ 
| |  | _| _||_||_ |_   ||_||_|
|_|  ||_  _|  | _||_|  ||_| _|
Output
0123456789

A higher resolution is required to access the IDE