题解 | #中位数#直接调用库函数

中位数

https://www.nowcoder.com/practice/2364ff2463984f09904170cf6f67f69a

from statistics import median
while True:
    try:
        print(int(median([int(input()) for _ in range(int(input()))])))
    except:
        break

全部评论

相关推荐

陆续:不可思议 竟然没那就话 那就我来吧 :你是我在牛客见到的最美的女孩
点赞 评论 收藏
分享
评论
2
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务