← 返回 google 的题目列表Basic Calculator
类型:online_judge
Given a string containing '+', '-', '(' and ')' with digits, compute and return the result of the expression. The expression is valid and there will be no empty strings. Input: "1 + 1"; Output: 2
Example
Input
1 + 1