#z1024. 01串(binary)
01串(binary)
Description
Format
Input
Output
输出一行一个整数表示答案。
Samples
3
1 0 2
1 0
1
6
3
1 1 2
1 0
1
2
3
1 2 1
1 0
1
0
3
2 0 2
0 1
1
0
Limitation
1s, 512MiB for each test case.
相关
在下列比赛中:
输出一行一个整数表示答案。
3
1 0 2
1 0
1
6
3
1 1 2
1 0
1
2
3
1 2 1
1 0
1
0
3
2 0 2
0 1
1
0
1s, 512MiB for each test case.
注册一个 Hydro 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。