Problem D-Lakes in Berland

Revision en1, by Kareem_Mohamed, 2016-10-06 13:21:32

I solved D-Lakes in Berland(Round #375 Div2) in the contest and I got Accepted,

Link : http://mirror.codeforces.com/contest/723/problem/D

My submission : http://mirror.codeforces.com/contest/723/submission/21161297

However after the contest I found a counter test that my code gets wrong , here it is :

http://imgur.com/a/tnXeT

the output should be 2304 (changes) instead the output is 0 ,

is the test right ? is there a bug in the system test ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Kareem_Mohamed 2016-10-06 13:22:49 69
en1 English Kareem_Mohamed 2016-10-06 13:21:32 476 Initial revision (published)