fix formatting;
This commit is contained in:
parent
0db6fa96b4
commit
03807e46e0
4 changed files with 15 additions and 14 deletions
|
|
@ -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}]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue