题目:https://leetcode-cn.com/problems/evaluate-reverse-polish-notation/
class Solution {
public:
int evalRPN(vector& tokens) {
//根据逆波兰表示法,求表达式的值。
stack st;
int n = tokens.size();
for(int i = 0,x,y;i
关注
打赏
热门博文