题解 2767: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,d,x,fx; ci…… 题解列表 2023年11月04日 0 点赞 0 评论 412 浏览 评分:9.9
题解 2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double e; e=150*2/15*(1…… 题解列表 2023年11月04日 0 点赞 0 评论 463 浏览 评分:9.9
2850: 输出亲朋字符串 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[10000];int main(){ cin.getline(…… 题解列表 2023年11月04日 0 点赞 0 评论 391 浏览 评分:9.9
2946: 数制转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int bbb[20]; int main() { int …… 题解列表 2023年11月04日 0 点赞 0 评论 374 浏览 评分:9.9
自定义函数打印100-200的素数个数和素数 摘要:解题思路:自定义函数is_prime判断n能否被n-1个数整除根据函数返回的值来判断是否是素数注意事项:!return 0的能力比break强, return 0可以彻底结束一个函数,break只能跳…… 题解列表 2023年11月04日 0 点赞 0 评论 584 浏览 评分:9.9
2801: 奇数求和 摘要:``` #include using namespace std; int main(){ int m,n,sum=0;//sum这里要赋值0 cin>>m>>n; for(int …… 题解列表 2023年11月04日 0 点赞 0 评论 300 浏览 评分:9.9
【编程入门】利润计算(比较容易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int x,w; scanf("%d",&x); i…… 题解列表 2023年11月04日 0 点赞 0 评论 340 浏览 评分:9.9
[编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int x,y; scanf("%d",&x); if(x<1…… 题解列表 2023年11月04日 0 点赞 0 评论 372 浏览 评分:9.9
for循环c语言版 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n; int ax=1; scanf("%d %d",&a,&n); if(…… 题解列表 2023年11月04日 0 点赞 0 评论 495 浏览 评分:9.9
字符串分类统计 摘要:解题思路:注意事项:这段代码没有考虑输入字符串中的特殊字符、标点符号等情况。它只会统计字母、数字、空格和其他字符的个数。参考代码:#include <stdio.h> #include <strin…… 题解列表 2023年11月04日 0 点赞 0 评论 299 浏览 评分:9.9