Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

66%
+2 −0
Challenges Reverse an ASCII string

Befunge-98, 45 39 37 33 29 21 bytes v:~< >a-| >v$< ,: ^_@ Try it online! This answer probably sucks :P

posted 4y ago by moony‭  ·  edited 4y ago by moony‭

Answer
#9: Post edited by user avatar moony‭ · 2020-11-30T23:59:09Z (almost 4 years ago)
got ahead of myself
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> <del>33</del> 29 bytes
  • ```
  • v:~<
  • >a-|
  • >v$<
  • ,:
  • ^_@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vs6qz4bJL1K3hsitTseHSseKKi3f4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> <del>33</del> <del>29</del> 21 bytes
  • ```
  • v:~<
  • >a-|
  • >v$<
  • ,:
  • ^_@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vs6qz4bJL1K3hsitTseHSseKKi3f4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
#8: Post edited by user avatar moony‭ · 2020-11-30T23:58:45Z (almost 4 years ago)
utilize new rules. also take advantage of the fact this is '98, and we have a shorthand for 10.
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> <del>33</del> 29 bytes
  • ```
  • v:~<
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> <del>33</del> 29 bytes
  • ```
  • v:~<
  • >a-|
  • >v$<
  • ,:
  • ^_@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vs6qz4bJL1K3hsitTseHSseKKi3f4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
#7: Post edited by user avatar moony‭ · 2020-11-30T23:30:05Z (almost 4 years ago)
sooo cloooose. note: entirely unrelated to my clarification.
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> 33 bytes
  • ```
  • v <
  • ~
  • :
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> <del>33</del> 29 bytes
  • ```
  • v:~<
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
#6: Post edited by user avatar moony‭ · 2020-11-30T21:20:56Z (almost 4 years ago)
clarify that this is funge-98, though it should work in 93 still.
  • # Befunge, <del>45</del> <del>39</del> <del>37</del> 33 bytes
  • ```
  • v <
  • ~
  • :
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
  • # Befunge-98, <del>45</del> <del>39</del> <del>37</del> 33 bytes
  • ```
  • v <
  • ~
  • :
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
#5: Post edited by user avatar moony‭ · 2020-11-30T21:18:18Z (almost 4 years ago)
  • # Befunge, <del>45</del> <del>39</del> <del>37</del> bytes
  • ```
  • v <
  • ~
  • :
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
  • # Befunge, <del>45</del> <del>39</del> <del>37</del> 33 bytes
  • ```
  • v <
  • ~
  • :
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
#4: Post edited by user avatar moony‭ · 2020-11-30T21:18:06Z (almost 4 years ago)
flattened it like a pancake for byte savings
  • # Befunge, <del>45</del> <del>39</del> 37 bytes
  • ```
  • v <
  • >~:52*-|
  • >v $<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vUwADGy67OitTIy3dGi47sJCKDZeOFVdcvJGplo7D//8eqTk5@ToK4flFOSmKXAA)
  • This answer probably sucks :P
  • # Befunge, <del>45</del> <del>39</del> <del>37</del> bytes
  • ```
  • v <
  • ~
  • :
  • 5
  • 2
  • >*-|
  • >v$<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vU1Cw4arjsuIy5TListPSreGyK1Ox4dKx4oqLNzLV0nH4/98jNScnX0chPL8oJ0WRCwA)
  • This answer probably sucks :P
#3: Post edited by user avatar moony‭ · 2020-11-30T21:14:14Z (almost 4 years ago)
forgot to nuke two spaces
  • # Befunge, <del>45</del> 39 bytes
  • ```
  • v <
  • >~:52*-|
  • >v $<
  • ,:
  • ^_ 25*, @
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vUwADGy67OitTIy3dGi47sJCKDZeOFVdcvIKRqZaOgsP//x6pOTn5Ogrh@UU5KYpcAA)
  • This answer probably sucks :P
  • # Befunge, <del>45</del> <del>39</del> 37 bytes
  • ```
  • v <
  • >~:52*-|
  • >v $<
  • ,:
  • ^_25*,@
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vUwADGy67OitTIy3dGi47sJCKDZeOFVdcvJGplo7D//8eqTk5@ToK4flFOSmKXAA)
  • This answer probably sucks :P
#2: Post edited by user avatar moony‭ · 2020-11-30T21:13:05Z (almost 4 years ago)
last minute improvements are last minute
  • # Befunge, 45 bytes
  • ```
  • v <
  • >~:52*-|
  • > v
  • ,
  • ^_ 25*, @
  • :
  • ^< $<
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vUwADGy67OitTIy3dGi47hTIuHa64eAUjUy0dBQcuBSsuhTgboBoVm///PVJzcvJ1FMLzi3JSFLkA)
  • This answer probably sucks :P
  • # Befunge, <del>45</del> 39 bytes
  • ```
  • v <
  • >~:52*-|
  • >v $<
  • ,:
  • ^_ 25*, @
  • ```
  • [Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vUwADGy67OitTIy3dGi47sJCKDZeOFVdcvIKRqZaOgsP//x6pOTn5Ogrh@UU5KYpcAA)
  • This answer probably sucks :P
#1: Initial revision by user avatar moony‭ · 2020-11-30T21:11:11Z (almost 4 years ago)
# Befunge, 45 bytes
```
v      <
>~:52*-|
> v
,
^_ 25*, @
 :
 ^<   $<
```
[Try it online!](https://tio.run/##S0pNK81LT9W1tNAtqAQz//8vUwADGy67OitTIy3dGi47hTIuHa64eAUjUy0dBQcuBSsuhTgboBoVm///PVJzcvJ1FMLzi3JSFLkA)

This answer probably sucks :P