We go deep into the treasure island with the name "Algorithm".
A task
" ?". . " " . , , , . , , , " ", , . "" . . ! "". , , , , , .
, โ . . . , , , . , .
.
"" , โ3. :
( ) ( ). " " , () ( - ).
" ", , . ? .
" " . " " , "". , โ . , . , , , "", , . . . , , "".
. , , .
("" ) . , "", " ", โ ("")
.
. , , : " ". .
, , , , . . , , , , . ("")
.
" "
, ("")
, , . . , .
? . . .
, ("")
:
- ;
- ;
- ( );
- โ1.
, , , , 10- , "" .
? . , . , . , , . , " ".
! , ( ). " ", . , "" ( ).
:
- , ;
- , ;
- " " , ;
- ,
- .
" โ " |
, , , ( ). ฬ ( โ2), . . .
" "
" + ". ("")
"" ( ). "". , , ( ) โ . โ . " โ ". c . , , , . .
, " ", ("")
, . ! .
, | "", |
" "
. , -. , ("")
, (). , . โ ( ).
- | "", |
""
, , , (OR)
. .
.
, ("โ1") ("โ2") | - | ( 1) OR ( 2) |
.
, ("โ1") ("โ2") | - | ( 1) OR ( 2) |
. "".
" "
, "" . "" โ "", "" . , . "" .
, ("โ1") ("โ2") | 1 2 |
. . โ , ( ).
" ". . . . , . , .
( ) - - -. , . . - !
, , . . โ .
" "
. ( ) ( ) "-". . "" .
โ , , (, , ). ( ) . , , . "", (AND)
. , "" , , ( ).
(), () () | , ("โ1") ("โ2") | () 1 2 |
"" (AND)
. , , -, โ . ( ). - . :
- ;
- ;
- .
- . , , , -.
- . โ ( โ3). - ("") ( โ1).
, , . - . "" , . , . , , .
- :
- "" ;
- - ;
- - () (, ).
" "
, โ ( , โ3). , , โ ! ? , . ( ). .
, . , รณ .
() | ("โ1") ("โ2") |
, , . .
- ?
- () ?
- ?
"" .
( ) . , . , . ( ). โ ( ) , .
. โ . . . , , , . , , . , "" - . .
. . , . . , , .
โ . " ". "", , , . ( ) .
?
, . . . , :
- ;
- ;
- ;
- ;
- ;
- "" ...
. "" . ( ), , . . , , . โ - Issues (Open source (GPL) GitLab).
, .
. . โ .
.
, , .
, (, , ). , , . .
- Open source (GPL) : ( wiki)
- " ". , "-" 2019 : ( โ0)
- " ?! "( โ1)
- The second article of the series "What is an algorithm ?! Execution" ( Habr article No. 2 )
- The third article in the series "What is an algorithm ?! Memory" ( Habr Article No. 3 )
- The apple drawing in the article was generated by the Wikipedia community. License ( Creative Commons Attribution-Share Alike 4.0 International )
- Image of Dr. Livesey and Squire Trelawney from the cartoon Treasure Island (1988)