计算球体积(C++代码) 摘要:参考代码:#include <iostream>#include <cmath> // 包含cmath头文件来使用pow函数和M_PI常量#include<iomanip>using namespa…… 题解列表 2023年07月12日 0 点赞 0 评论 666 浏览 评分:0.0
计算球体积,认识EOF 摘要:解题思路:注意事项:EOF是End Of File的意思,表示文件结束,无可读取参考代码:#include<stdio.h>#include<math.h>#define PI 3.14159int …… 题解列表 2023年11月30日 0 点赞 0 评论 217 浏览 评分:0.0
计算球体积胡扯版 摘要:解题思路:先看一眼别人的答案注意事项:记得球的体积是三分之四派啊的平方参考代码:#include<stdio.h>#define PI 3.1415926int main(){ float r,…… 题解列表 2024年04月05日 2 点赞 0 评论 285 浏览 评分:0.0
1173 计算球的体积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;#define PI 3.1415926int main(){ …… 题解列表 2024年07月08日 0 点赞 0 评论 232 浏览 评分:0.0
1173: 计算球体积 题解 摘要:```c #include #include int main() { double r, a = 0; while (scanf("%lf", &r) != EOF) …… 题解列表 2024年08月06日 0 点赞 0 评论 371 浏览 评分:0.0
求球的体积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double r,v; while(scanf("%lf",&r)!=EOF) { …… 题解列表 2024年12月05日 3 点赞 0 评论 729 浏览 评分:0.0
计算球体积 摘要:解题思路:注意事项:参考代码:import mathpi=math.pi //导入库while True: &n 题解列表 2024年12月21日 1 点赞 0 评论 601 浏览 评分:0.0
2025.7.16刷题记录 摘要:解题思路:通过while循环进行死循环持续输入 循环条件为scanf("%lf",&d)!=EOF注意事项:EOF为一个特殊常量表示的是 平时用到的ctrl+z…… 题解列表 2025年07月16日 0 点赞 0 评论 187 浏览 评分:0.0
【计算球体积】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define pi 3.1415int main(){ double r,v; while(scanf("%lf",&r) == 1)…… 题解列表 2018年01月26日 5 点赞 0 评论 1115 浏览 评分:0.0
【计算球体积】 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[]ages){ …… 题解列表 2018年04月15日 0 点赞 0 评论 1280 浏览 评分:0.0