add to gothib

This commit is contained in:
Ultrablob 2025-01-20 11:37:00 -05:00
commit 523f45b46a
28 changed files with 419 additions and 0 deletions

17
enraged.py Normal file
View file

@ -0,0 +1,17 @@
columns = int(input(""))
murders_acceptable = 2
row1 = input("")
row2 = input("")
for cell1, cell2 in zip(row1, row2):
if cell1 == "S" and cell2 == "S":
murders_acceptable -= 1
if murders_acceptable == -1:
break
if murders_acceptable == -1:
print("NO")
else:
print("YES")