{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"狗哥发明了一种新的编码方式,现在他想考考大家。狗哥发明的这种编码可能出现A是B的前缀的问题,例如 A :00 B: 001这样A的编码是B的编码的前缀,我们就称这组编码不能直接编码。\n已知编码全部由 0 和 1 组成,数据有多组。\n\n### input \n\n输入多行,当输入9的时候代表这组编码输入完毕,你需要判断这组编码能不能立即编码\n\n### output\n对于每一组数据,如果可以立即编码那就输出 Set n is immediately decodable (n代表这是第几组数据)\n\n如果不能理解编码 输出 Set n is not immediately decodable\n\n\n### sample input\n01\n10\n0010\n0000\n9\n01\n10\n010\n0000\n9\n\n### sample output\nSet 1 is immediately decodable\nSet 2 is not immediately decodable"}}]}