1) А || В || \/ || и
....0..,,.0..,.0..,.0
....0......1.....1.....1
....1.....,.0....1.....0
....1.......1......1.....1
2) аналогично для трех переменных А,В,С
А || В || С || А\/В\/С
000...,..,..,..,.....0
001...................,1
010.,.........,.........1
011......................1
100.................,,..1
101.................,....1
110.......................1
111...........,............1