This problem is in Contest(s) below:
Contest 1009:2018萌新作业2
Contest 1030:pyex萌新作业2
Contest 1046:18萌新作业2--算术表达式