2012年4月3日

csu 1183 表达式求值

摘要: 表达式求值,注意:输入可能有\t!!!!没有考虑到,re到死代码: 1 #include <iostream> 2 #include <stack> 3 #include <string.h> 4 #include <cstdio> 5 using namespace std; 6 const int maxx=1000; 7 int precede(char c) 8 { 9 switch(c) 10 { 11 case '+': 12 case '-':return 1; 13 case '*' 阅读全文

posted @ 2012-04-03 21:01 Inpeace7 阅读(196) 评论(0) 推荐(0) 编辑

导航