What is the best BrainFuck code (in terms of code size) to print 'A' 1000 times ?
My approach is:
- set 'A' to p[0]
- set 255 to p[1] to display 255 'A', 3 times
- set 235 to p[1] to display 235 'A'
This is not effective but I cannot find a way to use tow counters simultaneously like a multiplication
Is there a better approach than a multiplication ?
A more general question: is there a rule to make a multiplication with a large number with the smallest possible code?
+
characters or simply highest brevity? \$\endgroup\$