Calculator


Submit solution

Points: 5 (partial)
Time limit: 40.0s
Memory limit: 64M

Authors:
Problem type

挑戰題

String與int比較方法不同

int : ==
String : .equals()
輸入限制: 數字,字串(+,-,*,/),數字

Input

輸入數字1,符號(+、-、*、/),數字2

Output

計算結果

Sample Input1

2 
+ 
1

Sample Output1

3

Sample Input2

3 
* 
4

Sample Output2

12

Comments

There are no comments at the moment.