The total gain lose between each two machines. Initially each washing machine has some dresses or is empty. Super washing machines leetcode.