随笔分类 - 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...
阅读全文
摘要: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...
阅读全文
摘要:逆波兰表达式求值(栈和队列)Description从键盘上输入一个逆波兰表达式,用伪码写出其求值程序。规定:逆波兰表达式的长度不超过一行,以@符作为输入结束,操作数之间用空格分隔,操作符只可能有+、-、*、/四种运算。例如:请输入一个以'@'字符结束的中缀算术表达式:12+(3*(20/4)-8)*...
阅读全文

浙公网安备 33010602011771号