• + 1 comment

    "Input : first line 1 and second line 9 output : 9" is correct. the first line "1" is n. "9" is the 1x1 cavity map.