题意: Sample Input 31102001150101000111 Sample Output 026 Hint For the second sample test case, there are two valid operation pairs: (1, 1, 2, 2) and (2, 2, 1, 1). For the thi
http://acm.zju.edu.cn/onlinejudge/showContestProblem.do?problemId=5830 Time Limit: 1 Second Memory Limit: 65536 KB Problem solving report: Description: 给出A和B两个01串,通过两次反转使得A串变成B串,问有多少种方法(这个反转
题目连接-浙大oj Sample Input 3 1 1 0 2 00 11 5 01010 00111 Sample Output 0 2 6 Hint For the second sample test case, there are two valid operation pairs: (1, 1, 2, 2) and (2, 2, 1, 1). For the third sample