2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ float s = (15+2…… 题解列表 2023年07月22日 0 点赞 0 评论 315 浏览 评分:6.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 评论 291 浏览 评分:9.9
2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sushu(long long x){ if(x<2) …… 题解列表 2023年07月22日 0 点赞 0 评论 328 浏览 评分: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 评论 362 浏览 评分:6.0
2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long mymax(long long x,long long y,l…… 题解列表 2023年07月22日 0 点赞 0 评论 240 浏览 评分:0.0
苹果和虫子 摘要:```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 评论 312 浏览 评分:2.0
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 评论 294 浏览 评分:9.9
1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long sum(long long n){ long long …… 题解列表 2023年07月22日 0 点赞 0 评论 175 浏览 评分:0.0
[编程基础]输入输出练习之浮点数专题 摘要:```c #include int main() { double a; scanf("%lf",&a); printf("%f\n%.5f\n%e\n%g",a,a,a,a)…… 题解列表 2023年07月22日 0 点赞 0 评论 267 浏览 评分:0.0
1810: [编程基础]输入输出练习之精度控制3 c语言 摘要:```c #include int main() { int b; char a; float c; double d; scanf("%c %d %f %lf",&a,&b…… 题解列表 2023年07月22日 0 点赞 2 评论 520 浏览 评分:6.0