2025.7.16刷题记录 摘要:解题思路:通过while循环进行死循环持续输入 循环条件为scanf("%lf",&d)!=EOF注意事项:EOF为一个特殊常量表示的是 平时用到的ctrl+z…… 题解列表 2025年07月16日 0 点赞 0 评论 18 浏览 评分:0.0
C++简单解法 摘要:解题思路:属于基础题目,重要的是知道如何控制小数点后面的部分的位数注意事项:参考代码:#include<iostream>#include<iomanip>#include&l…… 题解列表 2025年03月03日 0 点赞 0 评论 178 浏览 评分:10.0
计算球体积 摘要:解题思路:注意事项:参考代码:import mathpi=math.pi //导入库while True: &n 题解列表 2024年12月21日 1 点赞 0 评论 566 浏览 评分:0.0
求球的体积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double r,v; while(scanf("%lf",&r)!=EOF) { …… 题解列表 2024年12月05日 3 点赞 0 评论 695 浏览 评分:0.0
1173: 计算球体积 题解 摘要:```c #include #include int main() { double r, a = 0; while (scanf("%lf", &r) != EOF) …… 题解列表 2024年08月06日 0 点赞 0 评论 340 浏览 评分:0.0
1173 计算球的体积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;#define PI 3.1415926int main(){ …… 题解列表 2024年07月08日 0 点赞 0 评论 207 浏览 评分:0.0
计算球体积胡扯版 摘要:解题思路:先看一眼别人的答案注意事项:记得球的体积是三分之四派啊的平方参考代码:#include<stdio.h>#define PI 3.1415926int main(){ float r,…… 题解列表 2024年04月05日 2 点赞 0 评论 270 浏览 评分:0.0
java--study||O.o 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2024年01月04日 0 点赞 0 评论 494 浏览 评分:9.9
计算球体积,认识EOF 摘要:解题思路:注意事项:EOF是End Of File的意思,表示文件结束,无可读取参考代码:#include<stdio.h>#include<math.h>#define PI 3.14159int …… 题解列表 2023年11月30日 0 点赞 0 评论 199 浏览 评分:0.0
1173 计算球体积(小白解题) 摘要:解题思路:循环输入终止条件输入前~ 或者输入后判断!=EOF,记住球体积公式(4/3*PI* R*R*R注意事项:PI可以使用宏常量来定义参考代码:#include<stdio.h>#define …… 题解列表 2023年08月16日 0 点赞 0 评论 624 浏览 评分:9.9