• + 102 comments

    May be authors should add following testcase:

    4 6
    123412
    561212
    123634
    781288
    2 2
    12
    34
    

    Because my code fails for this but for all the available testcases it passes.