This commit is contained in:
Marege 2026-11-05 17:54:03 +01:00
parent e2815726e8
commit 1a82feb9f3

View File

@ -57,10 +57,13 @@ def pocet_odpovedi(tree_lines):
def read_tree_lines():
tree_lines = []
text = input().rstrip("\r")
while text:
tree_lines.append(text)
try:
text = input().rstrip("\r")
while text:
tree_lines.append(text)
text = input().rstrip("\r")
except EOFError:
pass
return tree_lines
def controla_batabaz(tree_lines):