Sum and Prod

  • + 0 comments

    N,M = list(map(int,input().split())) A = [list(map(int,input().split())) for _ in range(N)] print(numpy.prod(numpy.sum(A,axis=0)))