Fixed spliting at spaces issue
This commit is contained in:
@@ -48,7 +48,7 @@ def construct(sections: list[int], target: int) -> dict[int, int]:
|
||||
# All modules for CS 412 must include a main method that allows it
|
||||
# to imported and invoked from other python scripts
|
||||
def main():
|
||||
sections: list[int] = list(map(int, input().split(" ")))
|
||||
sections: list[int] = list(map(int, input().split()))
|
||||
target: int = int(input())
|
||||
|
||||
best_sections = construct(sections, target)
|
||||
|
||||
Reference in New Issue
Block a user