codeforces/552A_table.py
def decode_inputs(inputs):
    """ Decoding input string list into base class args list """

    num = int(inputs[0])

    # Decoding input into a list of integers
    ilist = [[int(n) for n in i.split()] for i in inputs[1:]]
    starts = [(rec[0], rec[1]) for rec in ilist]
    ends = [(rec[2], rec[3]) for rec in ilist]

    args = [num, starts, ends]

    return args
 Decoding input string list into base class args list 
Decoding input string list into base class args list
Decoding input string list into base class args list
def decode_inputs(inputs):
    num = int(inputs[0])
    ilist = [[int(n) for n in i.split()] for i in inputs[1:]]
    starts = [(rec[0], rec[1]) for rec in ilist]
    ends = [(rec[2], rec[3]) for rec in ilist]
    args = [num, starts, ends]
    return args
def decode_inputs ( inputs ) : num = int ( inputs [ 0 ] ) ilist = [ [ int ( n ) for n in i . split ( ) ] for i in inputs [ 1 : ] ] starts = [ ( rec [ 0 ] , rec [ 1 ] ) for rec in ilist ] ends = [ ( rec [ 2 ] , rec [ 3 ] ) for rec in ilist ] args = [ num , starts , ends ] return args
Decoding input string list into base class args list
Decoding input string list into base class args list
""" Decoding input string list into base class args list """ # Decoding input into a list of integers
inputs