文件名称:7
介绍说明--下载内容来自于网络,使用问题请自行百度
一家银行希望采用光学字符识别系统自动读出支票中的账号,组成账号的每个数字都是7段数
位体。一种图象处理软件可以将组成数字的横段和竖段分别转换成ASCII码中的竖线‘|’和下划线
‘_’。你需要设计一个程序,从扫描转换的结果推测原始的账号,假定:
(1)若经扫描转换的某组数字全部保存了正确的数字形式而且满足校验条件,则该组数字就是原
始的账号;
(2)9位数中最多只有一位在扫描转换中失去正确的数字形式;
(3)扫描转换不会引入额外的数位段。
-A bank wishing to use optical character recognition system to automatically read out a check in the account number, account number of each component figures are 7 digital body. An image processing software can be composed of the number of horizontal and vertical segment conversion into ASCII code, respectively, of a vertical bar ' |' and underscore ' _' . You need to design a procedure, the results from the scan conversion of the account that the original, it is assumed that: (1) if the scan conversion of a group of figures all of the right to preserve in digital form and check to satisfy the conditions, the group of figures is the original account (2) 9-digit up to only one lost in the scan conversion right in digital form (3) scan conversion will not introduce a number of additional paragraphs.
位体。一种图象处理软件可以将组成数字的横段和竖段分别转换成ASCII码中的竖线‘|’和下划线
‘_’。你需要设计一个程序,从扫描转换的结果推测原始的账号,假定:
(1)若经扫描转换的某组数字全部保存了正确的数字形式而且满足校验条件,则该组数字就是原
始的账号;
(2)9位数中最多只有一位在扫描转换中失去正确的数字形式;
(3)扫描转换不会引入额外的数位段。
-A bank wishing to use optical character recognition system to automatically read out a check in the account number, account number of each component figures are 7 digital body. An image processing software can be composed of the number of horizontal and vertical segment conversion into ASCII code, respectively, of a vertical bar ' |' and underscore ' _' . You need to design a procedure, the results from the scan conversion of the account that the original, it is assumed that: (1) if the scan conversion of a group of figures all of the right to preserve in digital form and check to satisfy the conditions, the group of figures is the original account (2) 9-digit up to only one lost in the scan conversion right in digital form (3) scan conversion will not introduce a number of additional paragraphs.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
input_data.txt
seven.cpp
seven.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.