摘要: Problem DescriptionThere is a path graph G=(V,E) with n vertices. Vertices are numbered from 1 to n and there is an edge with unit len... 阅读全文
posted @ 2016-03-11 20:04 Herumw 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 做了三题表达式的转换题,都是先把中缀表达式转换为后缀表达式,然后再计算。zjnu1069 表达式的转换——中级Description平常我们书写的表达式称为中缀表达式,因为它将运算符放在两个操作数中间,许多情况下为了确定运算顺序,括号是不可少的,而中缀表达式就不必用括... 阅读全文
posted @ 2016-03-11 14:12 Herumw 阅读(338) 评论(0) 推荐(0) 编辑