摘要:
#include<iostream>#include<stack>using namespace std; template<typename T>struct queue{ stack<T> s1; stack<T> s2; void push_queue(const T& val); void 阅读全文
posted @ 2022-06-11 15:43
danieldai
阅读(27)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<stack>using namespace std; struct queue{ stack<int> s1; stack<int> s2; void push_queue(int val);void pop_queue(); bool empt 阅读全文
posted @ 2022-06-11 14:26
danieldai
阅读(38)
评论(0)
推荐(0)
浙公网安备 33010602011771号