02 2018 档案
摘要:加上#include<string> 需要用c_str()函数
阅读全文
摘要:#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...
阅读全文
摘要:#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...
阅读全文

浙公网安备 33010602011771号