We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Brainfuck Contest 1
Jump to navigation
Jump to search
Welcome to my test contest!
Rule
This is a golf contest. Anyone with the shortest code wins.
Addition program
Indeed, we have to test it. If you have an answer, just go for it. Edit it.
Input
Number.(2 one-digit numbers)
Output
Number added (digital root, or mod 9)
Example Input
45
Example Output
9
Your Code Goes Here:
-[>+<-----]>---[->+>+<<]<,>,>[[-<<->>]>]<<<[-<+>]<.
Code that actually works as required
,>,[<+>-]<+++[>>+<---------[+++++++++>-]>[->]<<+<-]++++++++[>++++++<-]>.