1687: 表达式

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:3 Solved:0

Description

Sample Input Copy

x1 x2 & x3 |
3
1 0 1
3
1
2
3

Sample Output Copy

1
1
0

HINT

x1 ! x2 x4 | x3 x5 ! & & ! &
5
0 1 0 1 1
3
1
3

	5




	--------------------------
0
1
1

Source/Category