题解列表

筛选

表达式括号匹配:c++

摘要:#### 原题链接 [题目 3071: 表达式括号匹配(stack)](https://www.dotcpp.com/oj/problem3071.html?sid=15741963&lang=1#……

后缀表达式的值:c++

摘要:#### 原题链接 [题目 3070: 信息学奥赛一本通T1331-后缀表达式的值](https://www.dotcpp.com/oj/problem3070.html "题目 3070: 信息学……

c++解修建灌木

摘要:解题思路:这道题是一道规律题,就是一颗树能长多高完全取决于什么时候被修剪。2 : 2  23 : 4 2 44 : 6 4 4 65 :    8 6 4 6 86 :10 8 6 6 8 10我们发……

1160: 出圈(好东西哈)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>                //memset()必备using namespace std;in……

c++解刷题统计

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ long long a,b,n; cin>>a>>b; cin>>n;……

计算分数加减表达式的值

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; float s=0.0; cin>>n; fl……

求分数序列和

摘要:解题思路:斐波那契数列n-2项/n-1项目注意事项:输出格式参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin……

1159: 偶数求和(还不错)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n,m;    int num[100];    num……

1148: C语言训练-计算1977!*

摘要:解题思路:    利用数组进行大数计算注意事项:    没事的,背下来就好了!!!参考代码:#include<iostream>using namespace std;int main(){    i……