#P1892. I-TernaryMachine
I-TernaryMachine
题目描述
Click here to read PDF of this problem
输入格式
As shown in the PDF.
输出格式
As shown in the PDF
样例
0001220001000011202012010001010212000001210000200001
01121001210010001012202010000112200010001012022222
1
2
3
4
5
6
7
8
9
10
00010010002120000011011112120000011101112120000
01000002120000011011012120000011000012120000011
01110212000001111001212000001111112120000010000
02120000010212110000200012020120100010102120020
01202000012021110100000012111021020120100010102
12000001021110001210010200001020211102111022021
2200102222
12
How many? 1
1
2
3
5
8
13
21
34
55
89
144
233
377
提示
By 秦浩源