Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1581--算式计算2
1581: 算式计算2
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
182
Solved:
97
[
Status
] [
Submit
] [Creator:
]
Description
输入一个算式,数字在0~1000万之间的整数,包含k个运算符(k<=10),只允许(+,-),求计算结果
Sample Input
Copy
12+23+49
Sample Output
Copy
84
HINT
输入样例2:
157+394-57
输出样例2:
494
Source/Category
提高B