fix formatting;

This commit is contained in:
Barrett Ruth 2025-09-12 17:20:38 -05:00
parent 0db6fa96b4
commit 03807e46e0
4 changed files with 15 additions and 14 deletions

View file

@ -88,9 +88,11 @@ def main():
test_cases = []
for input_data, output_data in tests:
test_cases.append({"input": input_data, "output": output_data})
if test_cases:
combined_input = str(len(test_cases)) + "\n" + "\n".join(tc["input"] for tc in test_cases)
combined_input = (
str(len(test_cases)) + "\n" + "\n".join(tc["input"] for tc in test_cases)
)
combined_output = "\n".join(tc["output"] for tc in test_cases)
test_cases = [{"input": combined_input, "output": combined_output}]