• + 9 comments

    I had a similar experience. My code passed all test cases. But, it failed on the following input:

    1

    5 15

    111111111111111

    111111111111111

    111111011111111

    111111111111111

    111111111111111

    3 5

    11111

    11111

    11110