999/2 = 498 +1
499/2 = 249 + 1
249/2 = 124 +1
124/2 = 62 + 0
62/2 = 31+ 0
31/2 = 15+1
15/2 = 7+1
7/2 = 3 + 1
3/2 = 1 + 1
999 = <span>1111100111
</span><span>10985 = </span>10101011101001
См. приложения.
Объяснения ясны из таблиц.
__________555______555
___________55555____55555
__________5555555__5555555
___5555____55555____55555____5555
5555555555__555______555__5555555555
5555555555_______55_______5555555555
___5555________555555________5555
_____________55$$$55555
___5555________555555________5555
5555555555_______55_______5555555555
5555555555__555______555__5555555555
___5555____55555____55555____5555
__________5555555__5555555
___________55555__$_55555
____________555___$__555
__________________$
___________$$$$___$
__________$$$$$$__$_______$$
_________$$$$$$$$_$____$$
_________$$__$$$$_$__$$$
__________$$$__$$_$_$$_$
___________$$$_$$_$$$_$
___________$$$$__$$$_$$
_____________$$$$$__$_$
______________$$$$$$
<span>__________________$$</span>____________$$$$$$
___________$$$$$$$$
___$$$$$$$__$$$$$$__$$$$$$
__$$$$$$$$$_ $$$$$_ $$$$$$$$
___$$$$$$$$$_$$$$$_$$$$$$$$
____$$$$$$$$_ $$$$_$$$$$$$
________$$$$$_$$$_$$$$$
_$$$$$$$$$_ $____$_$$$$$$$$$
$$$$$$$$$$ $______$ $$$$$$$$$$
$$$$$$$$$$$______ $$$$$$$$$$$
_$$$$$$$$$_$_____$_$$$$$$$$$
_________$$$$$_$$$_$$$$$
_____$$$$$$$$_ $$$$_$$$$$$$
____$$$$$$$$$_$$$$$_$$$$$$$$
___$$$$$$$$$_ $$$$$_ $$$$$$$$
____$$$$$$$__$$$$$$__$$$$$$
____________$$$$$$$$_$$
_____________$$$$$$_ $$
______$$$$$_________$$
_____$$$$$$$_______ $$
___$$$$$$$$$$$_____$$
_____ $$$$$$$$$___ $$
________$$$$$$$__$$
__________$$$$$_$$
___________$$$$$$
____________$$$$
_____________$$
____________$$____$$$$$$$
___________ $$___$$$$$$$$$$
___________$$__$$$$$$$$
___________$$_$$$$$$
___________$$_$$$$$
___________$$$$$$
___________$$$$
<span>___________$$
</span>
? - фальшивая
+ - настоящая
dif - знание о весе фальшивой (больше или меньше)
vs - взвешивание
=> - итог взвешивания
1 откладываем
1) 7? vs 7?
if == => 14+ 7? goto 2)
if <> => 7+ 14? goto
2) 4? vs 4+
if == => 18+ 3? goto 3)
if <> => 10+ 4? goto
3) 2? vs 2+
if == => 20+ 1? goto 4)
if <> => 19+ 2? goto
4) 1? vs 1+
if == => фальшивая та что отложена вначале
if <> => нашли
Ответ:
Дело мастера боится
Объяснение:
у человека, досконально знающего своё дело, ремесло, даже сложная работа будет ладиться и получаться.