tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
1
Task/Reverse-a-string/Brainf---/reverse-a-string-1.bf
Normal file
1
Task/Reverse-a-string/Brainf---/reverse-a-string-1.bf
Normal file
|
|
@ -0,0 +1 @@
|
|||
[-]>,+[->,+]<[.<]
|
||||
5
Task/Reverse-a-string/Brainf---/reverse-a-string-2.bf
Normal file
5
Task/Reverse-a-string/Brainf---/reverse-a-string-2.bf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
,----- ----- [+++++ +++++ > , ----- -----] If a newline is hit counter will be zero and input loop ends
|
||||
<[.<] run all chars backwards and print them
|
||||
|
||||
just because it looks good we print CRLF
|
||||
+++++ +++++ +++ . --- .
|
||||
Loading…
Add table
Add a link
Reference in a new issue