Fog Creek Software
Discussion Board




Chameleons

You can eliminate two types only if their difference is a multiple of 3, eg. 3 red,6 green, 5 blue, here you can eliminate red and green.
So you cannot eliminate any two types in the given problem.

Anshul Sawant
Friday, March 05, 2004

What if:

I. 13R + 13G => 13B; 30B, 2G, 0R

II. 1G + 1B => 1R; 29B, 1G, 1R

III. 1R + 1G => IB; 30B

(Step: Operation; State)

Am I missing something?

Buddhist Lama
Saturday, April 03, 2004

13 G + 13 R = 26 B

and so on.  The Chameleons don't disappear, they just change color.

And the original poster's solution is correct, IMO.

Vigor
Sunday, April 04, 2004

I had initially solved like given below:

10G + 10 B = 23R + 5G + 7B
1R + 1B = 22R + 6G + 6B
6G+6B = 6R + 22R

2 colors eliminated. I find that this is similar to the the question posted by lama. So what is wrong here ?

MJ
Monday, May 24, 2004

got my  mistake ...i was turning 2 chameleons into one !!

MJ
Monday, May 24, 2004

*  Recent Topics

*  Fog Creek Home