I said ALL
This commit is contained in:
parent
8a19a859d8
commit
5621b6385b
2
main.py
2
main.py
|
@ -140,7 +140,7 @@ def load(d, w, p, q):
|
||||||
assert(weight(d) <= M)
|
assert(weight(d) <= M)
|
||||||
assert(Dd[d] <= T)
|
assert(Dd[d] <= T)
|
||||||
print("Drone", d, "loads", q, "of", p, "from warehouse", w, "→", Dd[d])
|
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):
|
def unload(d, w, p, q):
|
||||||
# drone number, warehouse, product, qt
|
# drone number, warehouse, product, qt
|
||||||
|
|
Reference in a new issue