>>Yours or Mark's solution could not be accepted, because the observer can easily understand this trick and as I said, the cheating is not allowed.
>
>Nadya,
>
>I really was only kidding, but since you pressed it...
>
>I think that the 99 sages all taking the time to count
after each one determines their hat color might just alert the observer, as the 2nd sage would need to spend a much longer time than the 2nd to last sage (counting 98 hats vs counting 1 hat). I think the observer might have a clue that something was going on. Like cheating? Of course, I guess they all could have tried to wait the exact same amount of time as the 2nd sage so it woudn't be obvious, but then the first sage would have to take a guess as to how long it would take the 2nd sage to count and make sure their pause was at least that long or longer. :)
>
Since they are sages, it would not take a long time for them to count :)
>Again, you were looking for one, mathematical/programmatic answer, but if you look deep enough, and from different perspectives, it has flaws also. Remember, I already conceded that your answer was correct because you knew what you were looking for and were also the final judge in the matter. It was fun trying to figure out the right answer though - thanks!
>
>Renoir
Great :) Do you want more puzzles? :)
If it's not broken, fix it until it is.
My Blog