
stack
左眼皮跳跳~
这个作者很懒,什么都没留下…
展开
-
HDU 1237 简单计算器(stack)
Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。 Output 对每个测试用例输出1行,即该表达式的值,精确到小数原创 2014-10-31 21:31:18 · 1056 阅读 · 0 评论 -
HDU 1022 Train Problem I(stack)
Problem Description As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is t原创 2014-10-31 22:11:17 · 771 阅读 · 0 评论