About the algorithm of +-:
I did this before, but, let's continue to think with cups. Even if the two liquids are incompatible, but to pour the liquids from the two cups into one cup, then you can only pour at most half a cup (based on the upper limit for safety consideration, don't say the case where one cup has only the bottom and the other is almost full), otherwise an error will occur due to overflow!!
I did this before, but, let's continue to think with cups. Even if the two liquids are incompatible, but to pour the liquids from the two cups into one cup, then you can only pour at most half a cup (based on the upper limit for safety consideration, don't say the case where one cup has only the bottom and the other is almost full), otherwise an error will occur due to overflow!!
Impossible's Nothing!
