Ejemplo n.º 1
0
def runq5(i, return_dict):
    start = clock()
    output = question05(i)
    end = clock()
    diff = end - start
    return_dict['output'] = output
    return_dict['diff'] = diff
Ejemplo n.º 2
0
def runq5(i, return_dict):
    start = clock()
    output = question05(i['allowedAllocations'], i['totalValue'])
    end = clock()
    diff = end - start
    return_dict['output'] = output
    return_dict['diff'] = diff
Ejemplo n.º 3
0
def runq5(q5input, return_dict):
    start = clock()
    i = json.loads(q5input.replace(" ", ""))
    output = question05(i)
    end = clock()
    diff = end - start
    return_dict['output'] = output
    return_dict['diff'] = diff