随笔分类 - 栈
摘要:#include<bits/stdc++.h> using namespace std; stack<long long> S; long long x=1,a[260],n,m,t; string s; int main(){ getline(cin,s); for(int i=0;;i++){
阅读全文
摘要:1331【例1-2】后缀表达式的值 #include<bits/stdc++.h>using namespace std;int sta[101];char s[256]; int comp(char s[256]){ int i=0,top=0,x; while(i<=strlen(s)-2) {
阅读全文

浙公网安备 33010602011771号