随笔分类 -  Other

摘要:Greatest Number题目描述Saya likes math, because she think math can make her cleverer.One day, Kudo invited a very simple game:Given N integers, then the p... 阅读全文
posted @ 2014-07-14 14:50 Enumz 阅读(267) 评论(0) 推荐(1)
摘要:TreeYou are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the bin... 阅读全文
posted @ 2014-07-13 10:42 Enumz 阅读(1564) 评论(0) 推荐(1)
摘要:逆波兰表达式求值(栈和队列)Description从键盘上输入一个逆波兰表达式,用伪码写出其求值程序。规定:逆波兰表达式的长度不超过一行,以@符作为输入结束,操作数之间用空格分隔,操作符只可能有+、-、*、/四种运算。例如:请输入一个以'@'字符结束的中缀算术表达式:12+(3*(20/4)-8)*... 阅读全文
posted @ 2014-05-30 10:48 Enumz 阅读(509) 评论(0) 推荐(0)