摘要:
直接模拟。。。View Code 1 #include <iostream> 2 #include <cstring> 3 #include <queue> 4 using namespace std; 5 6 typedef pair<int,int> pii; 7 8 struct node 9 {10 int id,kb;11 node(){}12 node(int a,int b)13 {14 id = b;15 kb = a;16 }17 friend bool operator <(const n... 阅读全文
posted @ 2012-09-21 23:08
Shirlies
阅读(256)
评论(0)
推荐(0)
摘要:
简单题,直接模拟,但是还是要仔细点。。。View Code 1 #include <iostream> 2 #include <stack> 3 #include <iomanip> 4 #include <ios> 5 using namespace std; 6 7 int main() 8 { 9 double a;10 while(cin >> a)11 {12 stack<double> Snum;13 stack<char> Sop;14 15 Snum.push(a);16 char ch... 阅读全文
posted @ 2012-09-21 22:32
Shirlies
阅读(304)
评论(0)
推荐(0)
浙公网安备 33010602011771号