摘要: 题目链接 Problem Description Let S = s1 s2 … s2n be a well-formed string of parentheses. S can be encoded in two different ways: By an integer sequence P 阅读全文
posted @ 2016-02-05 15:41 ACMSaga 阅读(292) 评论(0) 推荐(0)
摘要: 题目链接 Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要 阅读全文
posted @ 2016-02-05 15:25 ACMSaga 阅读(1252) 评论(0) 推荐(0)