2012年4月2日

hdu 3596 表达式求值

摘要: 1 #include <iostream> 2 #include <stack> 3 #include <string.h> 4 #include <stdio.h> 5 #include <cmath> 6 using namespace std; 7 8 const int maxx=10000; 9 const int inf=0x7fffffff; 10 11 int precede(char c) 12 { 13 switch(c) 14 { 15 case '+': 16 case '-': 阅读全文

posted @ 2012-04-02 22:04 Inpeace7 阅读(563) 评论(0) 推荐(0) 编辑

导航