Problem2833--[csp-j2020]P3 表达式

2833: [csp-j2020]P3 表达式

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description




Sample Input Copy

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

Sample Output Copy

1
1
0

Source/Category

csp-j