文件名称:1006
- 所属分类:
- 数学计算/工程计算
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 193kb
- 下载次数:
- 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.cpp
....\1006.dsp
....\1006.dsw
....\1006.ncb
....\1006.opt
....\1006.plg
....\Debug
....\.....\1006.exe
....\.....\1006.ilk
....\.....\1006.obj
....\.....\1006.pch
....\.....\1006.pdb
....\.....\vc60.idb
....\.....\vc60.pdb
....\1006.cpp
....\1006.dsp
....\1006.dsw
....\1006.ncb
....\1006.opt
....\1006.plg
....\Debug
....\.....\1006.exe
....\.....\1006.ilk
....\.....\1006.obj
....\.....\1006.pch
....\.....\1006.pdb
....\.....\vc60.idb
....\.....\vc60.pdb