diff --git a/main.py b/main.py index 5ce3da6..b742b5b 100644 --- a/main.py +++ b/main.py @@ -37,6 +37,8 @@ Cp = []; # Positions of customers Ci = []; # Needs of customers # {product number: qt} +Out = '' # Drones commands + # Debug assert(len(Dp) == len(Di) == len(Dd) == len(Da) == D) diff --git a/out.py b/out.py new file mode 100644 index 0000000..e9ce31f --- /dev/null +++ b/out.py @@ -0,0 +1,6 @@ +#Out file + +def CreateOutFile(): + f = open(sys.argv[1], 'w') + f.write(len(Out)/10 + '\n' + Out) + f.close() \ No newline at end of file