"Alistair Langton" <22*6*9*
4@s*u*e*t*u*a*e*u*a*> wrote:
> I was examining the sample inputs provided for the FLIP question of the project after getting an incorrect answer to search for possible bugs in my code.
> Looking over sample input 1 I visually identified 3 distinct 8-connected regions of each colour, however the answer given for this input is only 2.
> Attached is a graphic representation of the input.
>
> Is this an error in the sample or am I misunderstanding the problem in some way and need to go back to read it again more closely?
The other student who has replied is correct. It seems you misunderstood the problem statement and need to read it again more closely.