摘要: 加上#include<string> 需要用c_str()函数 阅读全文
posted @ 2018-02-19 21:47 incotnigo 阅读(1207) 评论(0) 推荐(0)
摘要: #include using namespace std; // void push(int x); int pop(); bool isEmpty(); bool isFull(); // int A[5010],top=0; int main() { push(50); cout<<pop()<<endl; cout<<top; } void push(int... 阅读全文
posted @ 2018-02-19 00:49 incotnigo 阅读(116) 评论(0) 推荐(0)
摘要: #include #define LEN 5010 using namespace std; int Q[LEN],hand=0,tail=0; void enqueue(int x); int dequeue(); bool isEmpty(); int main() { } void enqueue(int x) { Q[tail]=x; tail=(tail+1)%L... 阅读全文
posted @ 2018-02-19 00:48 incotnigo 阅读(112) 评论(0) 推荐(0)
摘要: 要努力 阅读全文
posted @ 2018-02-19 00:43 incotnigo 阅读(68) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示