I said ALL

This commit is contained in:
JLo'w 2016-02-11 20:59:22 +01:00
parent 8a19a859d8
commit 5621b6385b

View file

@ -140,7 +140,7 @@ def load(d, w, p, q):
assert(weight(d) <= M)
assert(Dd[d] <= T)
print("Drone", d, "loads", q, "of", p, "from warehouse", w, "", Dd[d])
Out.append(str(d) + ' L ' + str(w) + ' ' + str(p+1) + ' ' + str(q))
Out.append(str(d) + ' L ' + str(w) + ' ' + str(p) + ' ' + str(q))
def unload(d, w, p, q):
# drone number, warehouse, product, qt