题解 2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double e; e=150*2/15*(1…… 题解列表 2023年11月04日 0 点赞 0 评论 421 浏览 评分:9.9
题解 2767: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,d,x,fx; ci…… 题解列表 2023年11月04日 0 点赞 0 评论 375 浏览 评分:9.9
题解 2766: 甲流疫情死亡率 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int a,b; cin>>…… 题解列表 2023年11月04日 1 点赞 0 评论 559 浏览 评分:9.9
3154 字符简写(新手上路,求大佬指正)(动态规划) 摘要:解题思路:对于输入的数据我们只需要辨别是否是字符c1和c2。对一个符合题目要求的子串来说,结尾一定是c2字符,开头为c1字符。因此只需要将每个c2字符前c1字符的个数相加即可。同时子串有长度n的限制,…… 题解列表 2023年11月03日 0 点赞 0 评论 482 浏览 评分:0.0
判断能否被3、5、7整除 摘要: ``` #include using namespace std; int main() { int n; cin >> n; if (n % 3 == 0) cout …… 题解列表 2023年11月03日 0 点赞 0 评论 520 浏览 评分:9.9
1141: C语言训练-百钱百坤问题 摘要:#百钱百鸡问题 ##我的代码如下 ``` #include using namespace std; int main(){ int x,y,z; …… 题解列表 2023年11月03日 0 点赞 2 评论 229 浏览 评分:9.9
2000: 偶数列举 摘要:``` #include using namespace std; int main(){ //下面是for循环 int n , sum = 0; cin>>n; for…… 题解列表 2023年11月03日 0 点赞 0 评论 169 浏览 评分:0.0
优质题解:N以内累加求和 摘要:``` #include using namespace std; int main(){ //下面是for循环 int n , sum = 0; cin>>n; for…… 题解列表 2023年11月03日 0 点赞 0 评论 406 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:其实直接提交就好,源代码就是1000的题解参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2023年11月03日 0 点赞 0 评论 301 浏览 评分:0.0
2784收集瓶盖赢大奖题解 (c++) 摘要:#include using namespace std; int main(){ int a; int b; cin>>a>>b; if (a>=10){ cout…… 题解列表 2023年11月02日 0 点赞 0 评论 273 浏览 评分:4.7