1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long n,m,b,sum=0;long long gaosi(lon…… 题解列表 2023年07月22日 0 点赞 0 评论 410 浏览 评分:9.9
苹果和虫子 摘要:```c #include int main() { int x,y,n,a; scanf("%d %d %d",&n,&x,&y); a=n-(y/x); …… 题解列表 2023年07月22日 0 点赞 0 评论 424 浏览 评分:2.0
2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long mymax(long long x,long long y,l…… 题解列表 2023年07月22日 0 点赞 0 评论 340 浏览 评分:0.0
计算线段长度(简单) 摘要:```c #include #include int main() { double a,b,c,d,x; scanf("%lf %lf %lf %lf",&a,&b,&c…… 题解列表 2023年07月22日 0 点赞 0 评论 463 浏览 评分:6.0
2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sushu(long long x){ if(x<2) …… 题解列表 2023年07月22日 0 点赞 0 评论 452 浏览 评分:0.0
2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long n,m,b,sum=0;int pdsushu(int x){…… 题解列表 2023年07月22日 0 点赞 0 评论 390 浏览 评分:9.9
2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ float s = (15+2…… 题解列表 2023年07月22日 0 点赞 0 评论 420 浏览 评分:6.0
鸡兔同笼问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",2*…… 题解列表 2023年07月22日 0 点赞 0 评论 469 浏览 评分:2.0
计算三角形面积 摘要: ```c #include #include int main() {…… 题解列表 2023年07月22日 0 点赞 0 评论 568 浏览 评分:9.0
2837: 年龄与疾病(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; for(int i=0;i…… 题解列表 2023年07月22日 0 点赞 0 评论 379 浏览 评分:0.0