When I was washing clothes last night, I suddenly thought that the previous method of washing clothes was very inefficient. let's first talk about how to wash the clothes.
1. Fill a bucket of water.
2. Put the clothes to be washed into the bucket.
3. wash the clothes, put them in a basin, and pour the water in the bucket.
4. Fill the bucket with water again and wash it for the second time. Repeat Step 3.
5. Repeat Step 4.
6. wash the clothes.
This washing method only requires one bucket and one basin. Due to the water stop in the community a few days ago, I bought a new bucket to hold water for backup. How can I make full use of this excess bucket? Improved Algorithms:
1. Fill a bucket of water. This bucket is called.
2. Put the clothes to be washed into a bucket.
3. The other bucket begins to hold water. This bucket is called B. Then wash the clothes and put the clothes washed with washing powder into B. Adjust the outlet speed of the faucet. When the clothes are washed, the water is full.
4. Clean the water in bucket A and start to fill the water.
5. Rinse the clothes in B's bucket, put the clothes in a's bucket, and adjust the outlet rate similarly.
6. When the clothes in B's bucket are washed, the water in B's bucket is poured clean and the water starts to be filled.
7. Rinse the clothes in a bucket and put them in the basin.
8. The laundry is finished.
Using one more bucket saves two boring times to wait for the water to be filled. Why not?