圆的面积--简单 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#define pi 3.1415926using namespace std;int main()…… 题解列表 2022年03月10日 0 点赞 0 评论 554 浏览 评分:0.0
1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define PI acos(-1)//acos(-1)为PI的精确值,头文件是math.h using namespac…… 题解列表 2022年05月05日 0 点赞 0 评论 604 浏览 评分:0.0
每天还是有进步的,没有什么会被浪费 摘要:解题思路:格式也没错了,第一次提交用3.14,不够精确,看了题解用3.1415926,然后就通过了,说明最后输出的格式设置没问题,只是不够精确,保留的两位小数不一样,还可以使用注意事项:"{:.2f}…… 题解列表 2022年05月12日 0 点赞 0 评论 520 浏览 评分:0.0
1669: 求圆的面积 摘要:解题思路:直接求注意事项:用double参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;d…… 题解列表 2022年05月17日 0 点赞 0 评论 482 浏览 评分:0.0
编写题解 1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float r,s; scanf("%f",&r); s = 3.1415927 * r * …… 题解列表 2022年05月24日 0 点赞 0 评论 641 浏览 评分:0.0
简单输出易懂求圆的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double r, p; double S; p = 3.1415926; scanf("%lf", &r); …… 题解列表 2022年06月22日 0 点赞 0 评论 466 浏览 评分:0.0
求圆的面积 摘要:解题思路:注意事项:这个最容易出现错误的是设立double型参考代码:#include<stdio.h>#define PI 3.14159 int main(){ double r,s; s…… 题解列表 2022年07月11日 0 点赞 0 评论 573 浏览 评分:0.0
求圆的面积(C语言) 摘要: #include int main() { double r; scanf("%lf",&r); printf("%.…… 题解列表 2022年07月13日 0 点赞 0 评论 629 浏览 评分:0.0
编写题解 1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double r = 0; scanf("%lf", &r); printf("%…… 题解列表 2022年07月28日 0 点赞 0 评论 489 浏览 评分:0.0
用宏定义Π,代入式子 摘要:解题思路:引入宏定义Π,直接使用double声明变量,简化代码注意事项:无参考代码:#include<stdio.h> #define R 3.14159 int main() { d…… 题解列表 2022年10月08日 0 点赞 0 评论 572 浏览 评分:0.0