当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。
2 3 5 1 6 11 2 3 8 1 6 11 0 0 0 0 0 0
impossible 1
In the first test case, b1 = 5, b2 = 3, b3 = 4, b4 = 9, b5 = 1, b6 = 5, and a0 = 2, a1 = 6, a2 = 7, a3 = 10, a4 = 8, a5 = 2, it makes a cycle. On the other hand, in the second test case, b1 = 8, b2 = 9, b3 = 6, b4 = 4, b5 = 10, b6 = 3, and a0 = 2, a1 = 6 = b3. So that answer is 1.
Recommend | hujie |
时间上限 | 内存上限 |
6000/3000MS(Java/Others) | 65536/65536K(Java/Others) |