我也是python a了 line = input().split() n = int(line[0]) m = int(line[1]) matrix = [[int(number) for number in input().split()] for _ in range(n)] result = 0 for j in range(m):     curr_max = 0     for i in range(n):         curr_max = max(matrix[i][j], curr_max)     result += curr_max print(result)
点赞 2

相关推荐

逆流河上万仙退:我觉得佬没必要 学历在这里 去了也不会对履历有很大提升 只是有可能让自己更熟练 是我的话会更倾向于找暑期或者中大厂日常
查看13道真题和解析
点赞 评论 收藏
分享
牛客网
牛客企业服务