• + 0 comments
    #python
    def taumBday(b, w, bc, wc, z):
        return min((b*bc+w*wc), ((b+w)*wc+b*z), ((b+w)*bc+w*z))