[PTC] 201206E Circular Codes 最小表示法
Problem ECircular CodesInput le: testdata.inTime limit: 10 secondsProblem DescriptionThe Circular Intelligence Agency stores all secret information in the follow-ing circular codes. Each encrypted string is an N-bit binary string c =c0c1 ... cN-1. We say that binary string a =...