You are to write a program to read different formulas and determine whether or not they are arithmetically equivalent.

  • 分治求解表达式的值,找出表达式中优先级最低且最靠右的运算符,在该处断开,算出左部和右部的值,然后再计算表达式的值。
目录 查词历史