随笔分类 - 栈/队列
摘要:题目链接 Problem Description Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If somethin
阅读全文
摘要:题目链接 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
阅读全文
摘要:题目链接 Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要
阅读全文

浙公网安备 33010602011771号