def compute_standard_walking_time(length_m: float, elevation_gain_m: float, elevation_loss_m: float) -> float:
    """Estimate the hiking time in seconds

    Parameters
    ----------
    :param: length_m:           Length of the hike in meters
    :param: elevation_gain_m:   Elevation gain of the hike in meters
    :param: elevation_loss_m:   Elevation loss of the hike in meters

    :return: Walking time (= moving time) for the hike in seconds
    """
    walking_time_length_s = 0.9 * length_m          # assumed speed: 4 km/h
    walking_time_up_s = elevation_gain_m * 12       # assumed speed: +300 m/h
    walking_time_down_s = elevation_loss_m * 7.2    # assumed speed: -500 m/h
    walking_time_up_down_s = walking_time_up_s + walking_time_down_s
    return max(walking_time_length_s, walking_time_up_down_s) + \
        0.5 * min(walking_time_length_s, walking_time_up_down_s)