-
题目要求:读入两个小于100的正整数A和B,计算A+B。
需要注意的是:A和B的每一位数字由对应的英文单词给出。
输入格式:测试输入包含若干测试用例,每...
题目要求:读入两个小于100的正整数A和B,计算A+B。
需要注意的是:A和B的每一位数字由对应的英文单词给出。
输入格式:测试输入包含若干测试用例,每个测试用例占一行,格式为"A + B =",相邻两字符串有一个空格间隔。当A和B同时为0时输入结束,相应的结果不要输出。
输出格式:对每个测试用例输出1行,即A+B的值。
输入样例:
one + two =
three four + five six =
zero seven + eight nine =
zero + zero =
输出样例:
3
90
96-Title request: read two positive integer less than 100 of the A and B, calculate A+ B. It should be noted that: A and B each of the figures by the corresponding English words are given. Input format: test input contains a number of test cases, test cases for each line, the format for the " A+ B =" , a string of adjacent spaces in the two intervals. When A and B at the same time 0:00 to the end of input, not output the results of the corresponding. Output Format: For each test case output a line, that is, the value of A+ B. Input sample: one+ two = three four+ five six = zero seven+ eight nine = zero+ zero = output sample: 39,096
- 2022-05-18 03:32:14下载
- 积分:1
-
《Visual C++高级编程及其项目应用开发》源代码
《Visual C++高级编程及其项目应用开发》源代码-"Advanced Programming in Visual C application development projects and the" source code
- 2023-05-29 06:50:03下载
- 积分:1
-
磁盘类型识别,如:本地硬盘,软盘,可拆卸地…
磁盘类型识别,如:本地硬盘,软盘,可移动磁盘-The disk type recognition, such as: local hard disks, floppy disks, removable disks
- 2022-01-25 15:55:09下载
- 积分:1
-
使用ssm框架实现类似淘宝京东购物模块
在eclipse上开发,采用ssm框架对购物车进行整合,实现增删改查,采用jsp能实现一些页面的判断等。
- 2022-09-14 09:15:05下载
- 积分:1
-
C++实现录音的源码
C++下实现的录音源码,很有用,已封装成类,方便调用与扩展,有窗体,是用mfc实现的,可以实现录音、保存录音、播放录音等。
- 2023-05-19 03:00:03下载
- 积分:1
-
Base64编码,解码,可以输入汉字也可以是字母
Base64编码,解码,可以输入汉字也可以是字母-Base64
- 2023-07-18 17:25:03下载
- 积分:1
-
一个简单的C通讯录,是为了应付学校检查做的
一个简单的C通讯录,是为了应付学校检查做的-a simple address list of c, which is done because of dealing with examination of my school.
- 2022-02-03 06:37:14下载
- 积分:1
-
嵌入式WINCE滑块控件编程使用,用EVC开发实现
嵌入式WINCE滑块控件编程使用,用EVC开发实现-Embedded WINCE programming using slider controls, and realize EVC Development
- 2022-11-02 21:25:02下载
- 积分:1
-
中文分词,只要输入文件位置,就可以文件了…
中文分词,只要输入文件所在位置,就可以将文件里的内容进行分词!-Chinese word segmentation, as long as the input file location, you can file the contents of word!
- 2023-05-15 22:45:06下载
- 积分:1
-
查询输入字符串中字符个数
这个是纯C代码,对初学者比较好,可以看看。。。。。。。。。。。。。。
- 2023-02-28 17:20:04下载
- 积分:1