-
个人简介
//栈 #include <bits/stdc++.h> using namespace std; int stk[10]; int top; bool empty(){ return top; } void pop(){ top--; } void push(int n){ stk[++top]=n; } int size(){ return top; } int getp(){ return stk[top]; } int main(){ push(7); cout<<getp()<<endl; return 0; }
-
最近活动