Mbpp/108

✅ 完美通过 Base: PASS Plus: PASS
测试评估
指标结果
Base 测试PASS
Plus 测试PASS
代码长度792 字符
模型生成的代码 (792 字符)
def merge_sorted_list(list1, list2, list3):
    """
    Merges three given lists into a single sorted list.
    
    Args:
        list1 (list): First list of numbers.
        list2 (list): Second list of numbers.
        list3 (list): Third list of numbers.
    
    Returns:
        list: A new list containing all elements from the three input lists sorted in ascending order.
    
    Example:
        >>> merge_sorted_list([25, 24, 15, 4, 5, 29, 110],
        ...                   [19, 20, 11, 56, 25, 233, 154],
        ...                   [24, 26, 54, 48])
        [4, 5, 11, 15, 19, 20, 24, 24, 25, 25, 26, 29, 48, 54, 56, 110, 154, 233]
    """
    # Combine the three lists and return a new sorted list
    combined = list1 + list2 + list3
    combined.sort()
    return combined
Base 失败测试用例
  • 无失败测试
Plus 失败测试用例
  • 无失败测试