CS3413/Assignment3/outputs/3 2 1.txt

64 lines
3.4 KiB
Plaintext

Please input number of people living in the house, number of movers and number of truck drivers
3 2 1
Hello from house dweller 0
Hello from house dweller 1
Hello from house dweller 2
Hello from mover 0
Hello from mover 1
Hello from trucker 0
House dweller 0 produced a box that weights 22 in 1 units of time
House dweller 2 produced a box that weights 24 in 2 units of time
House dweller 0 produced a box that weights 42 in 1 units of time
Mover 0 picked up a box of weight 22 in 2 units of time
Mover 1 picked up a box of weight 24 in 1 units of time
House dweller 1 produced a box that weights 42 in 4 units of time
House dweller 2 produced a box that weights 47 in 2 units of time
Mover 0 picked up a box of weight 42 in 1 units of time
Trucker 0 loaded a box of weight 22 in 2 units of time, room left: 9
Mover 0 picked up a box of weight 47 in 1 units of time
Mover 1 picked up a box of weight 42 in 2 units of time
House dweller 0 produced a box that weights 26 in 5 units of time
Trucker 0 loaded a box of weight 24 in 2 units of time, room left: 8
Mover 0 picked up a box of weight 26 in 1 units of time
Trucker 0 loaded a box of weight 42 in 1 units of time, room left: 7
House dweller 2 produced a box that weights 19 in 5 units of time
House dweller 0 produced a box that weights 45 in 2 units of time
House dweller 1 produced a box that weights 40 in 6 units of time
Mover 1 picked up a box of weight 19 in 1 units of time
Trucker 0 loaded a box of weight 47 in 2 units of time, room left: 6
Mover 0 picked up a box of weight 45 in 2 units of time
Mover 1 picked up a box of weight 40 in 1 units of time
Trucker 0 loaded a box of weight 42 in 1 units of time, room left: 5
House dweller 0 produced a box that weights 37 in 3 units of time
House dweller 0 is done packing
Mover 0 picked up a box of weight 37 in 1 units of time
Trucker 0 loaded a box of weight 26 in 2 units of time, room left: 4
House dweller 1 produced a box that weights 31 in 4 units of time
Trucker 0 loaded a box of weight 19 in 1 units of time, room left: 3
Mover 1 picked up a box of weight 31 in 1 units of time
House dweller 1 produced a box that weights 17 in 1 units of time
House dweller 2 produced a box that weights 27 in 6 units of time
Trucker 0 loaded a box of weight 40 in 2 units of time, room left: 2
Mover 0 picked up a box of weight 27 in 2 units of time
Mover 1 picked up a box of weight 17 in 2 units of time
Trucker 0 loaded a box of weight 45 in 2 units of time, room left: 1
House dweller 2 produced a box that weights 33 in 4 units of time
House dweller 2 is done packing
Trucker 0 loaded a box of weight 37 in 1 units of time, room left: 0
Full truck 0 with load of 344 units of mass departed. Round trip will take 7 units of time
House dweller 1 produced a box that weights 14 in 5 units of time
House dweller 1 is done packing
Mover 0 picked up a box of weight 33 in 1 units of time
Mover 0 is done moving
Mover 1 picked up a box of weight 14 in 1 units of time
Mover 1 is done moving
Trucker 0 loaded a box of weight 31 in 2 units of time, room left: 9
Trucker 0 loaded a box of weight 27 in 2 units of time, room left: 8
Trucker 0 loaded a box of weight 17 in 2 units of time, room left: 7
Trucker 0 loaded a box of weight 33 in 2 units of time, room left: 6
Trucker 0 loaded a box of weight 14 in 2 units of time, room left: 5
Truck 0 is not full
Not full truck 0 with load of 122 units of mass departed. One way will take 3 units of time
Truck 0 is finished
Moving is finished!