对题2811:数学表达式的使用以及四舍五入的实现 摘要:解题思路:本题需要输入n组数据,便可以采用一个while(n)的循环来依次输入多个救援点的坐标以及救援人数,再写出每次救援时间的数学表达式,带入计算即可,再对计算结果进行四舍五入输出注意事项:对应的数…… 题解列表 2024年09月08日 0 点赞 0 评论 426 浏览 评分:9.9
python 2811: 救援 摘要:参考代码:import math n = int(input()) x1, y1 = 0, 0 pace = 50 time = 0 for i in range(n): xn, …… 题解列表 2024年03月13日 0 点赞 0 评论 677 浏览 评分:9.9
海底小纵队在线救援 摘要:解题思路:从头理清慢慢算注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner scanner …… 题解列表 2024年01月15日 0 点赞 0 评论 351 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 219 浏览 评分:9.9
救援(java代码) 摘要:解题思路:注意事项: Math.sqrt()方法用于求算术平方根 Math.ceil()向上取整 扩展: Math.round()四舍五人的整数 Math.floor()向下取整参考代码:impo…… 题解列表 2023年11月08日 0 点赞 0 评论 394 浏览 评分:9.9
2811: 救援(C语言,重点就是向上取整用ceil()函数,不然的话就会报错) 摘要: #include #include int main() { int n; // 屋顶数 int x, y; // 坐标 int num; // 人数 …… 题解列表 2023年07月08日 0 点赞 0 评论 466 浏览 评分:9.9
Py2811-救援--六行-步骤清晰 摘要:解题思路:注意事项:参考代码:frommathimport*n=int(input())arr=[list(…… 题解列表 2025年11月08日 1 点赞 0 评论 88 浏览 评分:10.0