##Pyke, 15 10 bytes
,FSe)s\#ch
Port of the Jelly answer
, - transpose()
FSe) - map(min, ^)
s - sum(^)
\#c - ^.split("#")
h - ^[0]
##Pyke, 15 10 bytes
,FSe)s\#ch
Port of the Jelly answer
, - transpose()
FSe) - map(min, ^)
s - sum(^)
\#c - ^.split("#")
h - ^[0]