|
||||||||||
Weak Number RecognitionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 185 Accepted Submission(s): 9 Problem Description Wiskey wants to develop an image retrieval system, but he can¡¯t deal with the number recognition. The number is neat which no any aliasing, no any redundant point, and made by ¡®#¡¯. You can use the software ¡°ASCII Art Studio¡±, the data come from there. The font is Arial, and the font size between ¡°ÎåºÅ¡± and ¡°Ò»ºÅ", the style is bold. The data is weak, not all of the numbers which various sizes are need to be recognized. Come on baby; please improve your program as much as possible. Input First line will contain one integer mean how many cases will follow by. In each case will contain two integers N, M mean the N*M matrix will follow. (10 <= N, M <= 26) Output Print which number did you recognized. Sample Input
Sample Output
Author Wiskey | ||||||||||
|