min-max容斥