http://www.codechef.com/problems/EQIDLIS

please suggest where did i have done the mistake in understanding the qstn…

TestCase

1

3

6 0 0

I randomly download some code and tried this input given answer is 0.can anyone explain why 0 and not 3.

mine answer 3 explanation given below:----

3 3 0

3 2 1

2 2 2