2012 people stand in a line. Each of them is either a knight (and always tells truth) or a knave (and always lies). Each of the people announced: «There are more knaves on my left than knights on my right». How many knaves are in the line?
Solution
Нехай у шерензі стоять брехунів та лицарів. Оскільки найлівіший з лицарів сказав правду, маємо . Оскільки найправіший з брехунів збрехав, то маємо . Отже, або . Другий випадок неможливий, оскільки загальна кількість людей парна. Тому .
*Відповідь:* 1006 брехунів.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.