有稍微解释一下我的代码,但是没有说明数学逻辑 摘要:解题思路:注意事项:题目告诉我们的位置是在平面坐标系中的,所以我们要注意用距离公式【在c语言中,求a和b之间的距离x=sqrt(a*a+b*b)】去求大本营和某一个房顶之间的距离向上取整函数 ceil…… 题解列表 2024年11月07日 0 点赞 0 评论 291 浏览 评分:0.0
正常简单思路解答救援问题 摘要:解题思路:单趟时间相加对总时间向上取整注意事项:先相加再向上取整参考代码:#include<iostream>#include<math.h>#include<cmath>using namespac…… 题解列表 2024年05月05日 0 点赞 0 评论 341 浏览 评分:0.0
2811 救援(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,a,b,c; double t1,t=0.0; s…… 题解列表 2024年03月18日 0 点赞 0 评论 352 浏览 评分:0.0
编写题解 2811: 救援 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <stdlib.h> // 计算时间的函数 floa…… 题解列表 2023年12月24日 0 点赞 0 评论 301 浏览 评分:0.0
救援(总时间) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y,num; double distance; double t…… 题解列表 2023年11月19日 1 点赞 0 评论 263 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n; double sum_time = 0.0; s…… 题解列表 2023年05月30日 0 点赞 0 评论 274 浏览 评分:0.0
2811: 救援(Python) 摘要:解题思路:注意事项:参考代码:from decimal import * n = int(input()) t0 = 0 while True: try: x,y,num=map(in…… 题解列表 2023年02月14日 0 点赞 0 评论 265 浏览 评分:0.0