文件名称:1006
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:193.2kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
规则1:实现 +、-、X、/ 四则运算,数据仅包含整数,不考虑计算结果溢出的情况
规则2:程序仅需要实现类似"a + b * c / d - e" 这种类型字符串的计算,式子中操作符的个数不超过10个。其他复杂情况不考虑。
例子1:
输入: 1 + 2
输出: 3
输入: 1 + 2 * 3 - 4 / 2
输出: 5-Rule 1: realize+,-X,/arithmetic, data contain only integer, don t consider the calculation results of the spill
Rule 2: program only need to implement similar "a+ b* c/d-e" this type of string calculation, the number of operators in the mean no more than 10. Other complex condition is not considered.
Example 1:
Input: 1+ 2
Output: 3
Input: 1+ 2* 3-4/2
Output: 5
规则2:程序仅需要实现类似"a + b * c / d - e" 这种类型字符串的计算,式子中操作符的个数不超过10个。其他复杂情况不考虑。
例子1:
输入: 1 + 2
输出: 3
输入: 1 + 2 * 3 - 4 / 2
输出: 5-Rule 1: realize+,-X,/arithmetic, data contain only integer, don t consider the calculation results of the spill
Rule 2: program only need to implement similar "a+ b* c/d-e" this type of string calculation, the number of operators in the mean no more than 10. Other complex condition is not considered.
Example 1:
Input: 1+ 2
Output: 3
Input: 1+ 2* 3-4/2
Output: 5
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1006/
1006/1006.cpp
1006/1006.dsp
1006/1006.dsw
1006/1006.ncb
1006/1006.opt
1006/1006.plg
1006/Debug/
1006/Debug/1006.exe
1006/Debug/1006.ilk
1006/Debug/1006.obj
1006/Debug/1006.pch
1006/Debug/1006.pdb
1006/Debug/vc60.idb
1006/Debug/vc60.pdb
1006/1006.cpp
1006/1006.dsp
1006/1006.dsw
1006/1006.ncb
1006/1006.opt
1006/1006.plg
1006/Debug/
1006/Debug/1006.exe
1006/Debug/1006.ilk
1006/Debug/1006.obj
1006/Debug/1006.pch
1006/Debug/1006.pdb
1006/Debug/vc60.idb
1006/Debug/vc60.pdb
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。