In the given test case output should be 18, not 8 . ;)
Savezno 2005 - Jezerca
Could you check the grader, too ? =]
My code gives me good result at my computer but I get 10 WA on z. grader.
My code gives me good result at my computer but I get 10 WA on z. grader.
You should output the number of squares in the biggest lake, not in all lakes :)
Omg, I didn't read the task carefully. :) Thanks.
I've solved it now, thanks a lot. ;)
np :)