You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
727 B

2 years ago
#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
int main() {
/**
1ABC+ABC'+AB'C+A(BC)'
=AB(C+C')+AB'C+A(BC)'
=AB+AB'C+AB'+AC'
=AB+AB'(C+1)+AC'
=AB+AB'+AC'
=A(B+B')+AC'
=A+AC'
2A'C+A'BC+A'CD(B+E')
=A'C(1+B)+A'CD(B+E')
=A'C+A'CD(B+E')
=A'C(1+D(B+E'))
=A'C
3AB+(AB)'+BC+(BC)'
= 1+1
=1
4AB+ AC+BC
=AB+ (A+B)C ()(AB)'=A'+B' (A+B)'=A'B'
=AB+(AB)'C A+A'B=A+B
=AB+C
https://blog.csdn.net/xun08042/article/details/112107102
*/
return 0;
}