摘要: The Pilots Brothers' refrigeratorDescriptionThe game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a r... 阅读全文
posted @ 2014-05-30 16:17 Enumz 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 逆波兰表达式求值(栈和队列)Description从键盘上输入一个逆波兰表达式,用伪码写出其求值程序。规定:逆波兰表达式的长度不超过一行,以@符作为输入结束,操作数之间用空格分隔,操作符只可能有+、-、*、/四种运算。例如:请输入一个以'@'字符结束的中缀算术表达式:12+(3*(20/4)-8)*... 阅读全文
posted @ 2014-05-30 10:48 Enumz 阅读(483) 评论(0) 推荐(0) 编辑