This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in_string = 'ABC' / 'AAA' / 'ABAF' | |
# delay = 5 | |
# res 3, 13, | |
from collections import deque | |
def calc_processing_time(in_str: str, delay: int) -> int: | |
""" | |
calculating running time for jobs in in_str with delay between consequent jobs |