题解 2811: 救援

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

JAVA的简单解法

摘要:解题思路:注意事项:主要注意要使用Math.ceil()向上取整参考代码:import java.util.Scanner;public class Main {    public static v……

救援C++ 简单易懂,欢迎点评

摘要:解题思路:注意事项: ceil()为向上取整函数参考代码:#include<bits/stdc++.h>#include<cmath>using namespace std;int main(){  ……

题解 2811: 救援

摘要:解题思路:注意事项:参考代码:import math   # 调用数学模块 t = 0 n = int(input())    #屋顶数 for i in range(n):     a = ……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    int n;    double sum_time = 0.0;    s……

救援(总时间)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,x,y,num; double distance; double t……

编写题解 2811: 救援

摘要:解题思路:注意事项:参考代码:#include <stdio.h>   #include <math.h>   #include <stdlib.h>     // 计算时间的函数   floa……

2811: 救援(Python)

摘要:解题思路:注意事项:参考代码:from decimal import * n = int(input()) t0 = 0 while True: try: x,y,num=map(in……

2811 救援(C语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    int n,a,b,c;    double t1,t=0.0;    s……

正常简单思路解答救援问题

摘要:解题思路:单趟时间相加对总时间向上取整注意事项:先相加再向上取整参考代码:#include<iostream>#include<math.h>#include<cmath>using namespac……