写题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ /** while(16534123412387…… 题解列表 2023年12月23日 0 点赞 0 评论 417 浏览 评分:9.9
编写题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r…… 题解列表 2023年12月16日 0 点赞 0 评论 438 浏览 评分:9.9
题解 2771:大象喝水(C代码) 摘要:解题思路: 20*1000/v(v为小圆桶体积),只要实现向正无穷取整就行。两种思路:1、通过ceil函数;2、通过(int)取整。注意事项: ceil函数返回的double型;而(int)是向零取整…… 题解列表 2022年10月11日 0 点赞 3 评论 1584 浏览 评分:9.9
题解 2771: 大象喝水//制作不易,给个好评//附赠无限循环 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ /** while(16534123412387…… 题解列表 2023年12月02日 0 点赞 0 评论 416 浏览 评分:9.9
油炸坤坤好吃不贵 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Pi 3.14159int main(){ int r,h; scanf("%d%d", &h, &r); …… 题解列表 2023年05月27日 0 点赞 0 评论 831 浏览 评分:9.9
2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r…… 题解列表 2023年12月02日 0 点赞 0 评论 353 浏览 评分:9.9
题解 2771: 大象喝水 摘要:解题思路:首先输入高和半径,然后求体积,再用20L除以体积。注意事项:在这里pi=3.14159。参考代码:#include <bits/stdc++.h>using namespace std;in…… 题解列表 2023年11月25日 0 点赞 0 评论 538 浏览 评分:9.9
大象喝水 调用ceil函数 摘要:解题思路:调用ceil函数注意事项:参考代码:#include<stdio.h>#include<math.h>#define Pi 3.14159int main(){ int h,r; dou…… 题解列表 2023年11月13日 0 点赞 0 评论 663 浏览 评分:9.9
简单又实用 摘要:参考代码:#include <iostream>#include <cmath> // 包含cmath头文件来使用M_PI常量using namespace std;int main() { …… 题解列表 2023年07月12日 0 点赞 0 评论 724 浏览 评分:9.9
大象喝水题解,,,, 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int h,r,t; double v; scanf("%d %d",&h,&r); …… 题解列表 2024年12月05日 1 点赞 0 评论 720 浏览 评分:10.0