EpigDanceOff

This commit is contained in:
2023-11-15 22:20:01 +01:00
parent ae55249b47
commit b58f0998db

17
epigdanceoff.py Normal file
View File

@@ -0,0 +1,17 @@
n, m = map(int, input().split())
lines = []
for _ in range(n):
lines.append(input())
t = 1
for col in range(m):
new_frame = True
for row in lines:
if row[col] != "_":
new_frame = False
break
if new_frame:
t += 1
print(t)