数学思路来解这一道题的 摘要:解题思路:注意事项:参考代码:import mathwhile True: w, h = map(int, input().split()) if w==0 or h==0: …… 题解列表 2021年12月07日 0 点赞 0 评论 278 浏览 评分:0.0
1111: Cylinder ,python版本 摘要:pi = 3.14159265358while True: try: w,h=map(int,input().strip().split()) if w == 0 and h == 0: …… 题解列表 2021年11月01日 0 点赞 1 评论 305 浏览 评分:0.0
Cylinder-题解(C语言代码) 摘要:#include <stdio.h> #define pi 3.14159265358 double volume(double w,double h) { double temp,r1=…… 题解列表 2020年07月21日 0 点赞 0 评论 237 浏览 评分:0.0
Cylinder-题解(C++代码)-----× 摘要:1、参照优质题解 链接:[https://blog.dotcpp.com/a/2608-1](https://blog.dotcpp.com/a/2608-1) ```cpp #include …… 题解列表 2020年04月15日 0 点赞 0 评论 403 浏览 评分:0.0
Cylinder-题解(C++代码) 摘要: ```cpp include #include #define PI 3.141592653589793238 using namespace std; int main() { d…… 题解列表 2020年01月06日 0 点赞 0 评论 650 浏览 评分:0.0
Cylinder (C语言代码) 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat; import java.util.Scanner; public class Main { …… 题解列表 2019年02月16日 0 点赞 0 评论 712 浏览 评分:0.0
Cylinder (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #define PI 3.14159265358 int main() { double w, h; wh…… 题解列表 2019年01月21日 0 点赞 0 评论 395 浏览 评分:0.0
Cylinder (C语言代码) 摘要:解题思路:大概是考数学和英文的。画出图就明白了,或者以w为高,以h-2r为周长;或者以w为周长,以h-2r为高;如果是前者,要注意计算出来的r必须满足2r<=w,否则r=w/2注意事项:参考代码:#i…… 题解列表 2018年06月25日 0 点赞 0 评论 716 浏览 评分:0.0
Cylinder (C语言代码) 摘要:解题思路:分两种情况来写注意事项:参考代码:#include<stdio.h>#define PI 3.141592653589793238int main(){ double w,h,resu…… 题解列表 2018年03月26日 0 点赞 0 评论 712 浏览 评分:0.0