[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/danglingmind/python_practice/master/combinationspython.py [Back]  [Original]

def f(N:int , c:list):
    # solusion matrix
    s = []

    for index in range(len(c)):
        if index == 0 :
            s.append([list(c)])
        else :
            cost1 = min(s[1],s[2])
            cost2 = min(s[0],)


N = int(input())
c=[]
for i in range(N):
    c.append(map(int, input().split(' ')))

out_ = f(N,c)
print(out_)

Web Proxy Viewer  |  New URL  |  Original Page