CODE WARS ]I[ PROGRAMMING COMPETITION
Handprinting Sleuth
Problem 12 Division I 12 Points
Problem Statement
Character recognition - Given 8x8 bitmaps made up of 8 bytes of data, determine if the letter 'A' is present anywhere within the bitmap. There will be only one character within the 8x8 bitmap, the character will be upright, and the character 'A' (if present) will exactly match the predefined 5x6 character 'A'.
Predefined 'A'
00100
01010
10001
11111
10001
10001
Program Input
The input file will be named PROG12.IN and will contain several sets of 8 numbers. Each number will range from 0-255 and will represent a binary byte of data representing a row of 8 bits in an 8x8 bit array.
32,80,136,248,136,136,0,0
255,0,136,136,248,0,163,49
0,8,20,34,62,34,34,0
Program Output
Output the results to the output file PROG12.OUT. This file will simply contain a response indicating whether each 8x8 bit array contained the letter 'A'.
Yes
No
Yes