Home → ?????????? → ??????????? → ??????? ??? Faceoff?
5.7. ??????? ??? Faceoff?
??????, ????? ?? ??????????? ????? "?????? ????? ????? ?????? ?????? ? ???????», ????????? ?????? ????? ???? ????????? ??? ???????? ?????? ????, ??? ??????. ??? ????? ???????? ?? ?????????? ??????? ? ?????? ?????? ? ?????????? ???????, ?????????? ?? ????.
????????, ???? ? ??? ???? ?????? ?? ???? ???????, ?? ?? ?????? ???????? ??????? "?????? ????? ??????????? ? ?????? ???????????", ??? ??? ???? ?? ??????? ?? ????? ????? ????????.
???? ? ??? ?????? ?? 10 ???????, ?? ?? ?????? ?????????? ??????? "?????? ????? ?????? ?????? ???? ???????????", ?????? ??? ??? ???????? ??, ??? ??? ?????? ? ?????? ?????? ?????? ?????? ?????? 4-? ???????, ????????? ??????? ?? ??????.
?????????? ????? ??????? ???????, ????? ??????, ?????? ??????? ??????? ????? ?????? ????? ????? ??????, ? ??????????? ?? ?????????? ??????? ? ??????.
Y / (X +1), ??? Y ???????? ??????????? ??????? ? ??????, ? X - ????? ???????????, ? ???????? ??? ?????? ???????????. ???? ????????? ????? ????? ??????, ? ??????? ?????? ????? ???? ?????????? ? ?????? ??????????? ??????????? ????. ???? ????? ????? ???????, ? ????????? ??????? ????? ?????? ????.
??????, ??? ??????? ????? ???????? ??????, ???? ?? ????????????, ??? ?????? ???? ?????? ?????? ?????? ???? ?????????? ? ????? ??????.
????????:
?????? ?? ???? ???????.
???? X = 1, ?? 5 / (1 +1) = 5 / 2 = ??????? ?????.
??????????, ????? ?????? ????? ????? ?????? 1 ?????????, ??? ??? ???? ?? ??? ????????? ??? ?????????.
???? X = 2, ??? ??? ?????????? ?????, ??? ??????? ????? ????????, ???? ???? ???????? ??????????? ???????? ??????? ?????.
???? X = 3, ?? 5 / (3 +1) = 5 / 4 = ??????? ?????.
???? X = 4, ?? 5 / (4 +1) = 5 / 5 = 1, ????? ?????.
???? ? ??? ???? ?????? ?? ???? ???????, ?????? ????? ????? ????? ??????????? ?????????? ?????????? ?????? ??? ??????? ????? ?? ?????? ??????????? ? 2-?? ??? 4-?? ????????.
?????? ????? 2:
?????? ?? ????? ???????.
???? X = 1, ?? 6 / (1 +1) = 6 / 2 = 3 (??????? ????????)
???? X = 2, ??? ???????? ??????.
???? X = 3, ?? 6 / (3 +1) = 6 / 4 (??????? ??????????)
???? X = 4, ?? 6 / (4 +1) = 6 / 5 (??????? ??????????)
???? X = 5, ?? 6 / (5 +1) = 6 / 6 = 1 (??????? ????????).
???? ? ??? ???? ?????? ?? ????? ???????, ?? ?????? ????????? ??????? ?????? 1, 2 ??? 5 ??????????? ? ????? ??????.
??? ???????? ??????, ??????????? ????? ????? ???????????????? ???????.
????? ????????? ??????????????? ?????? - 2048.