The case for brainfuck
Brainfuck is a widely known programming language but it lacks recognition from the competitive programming comunity. I am here to fix that.
How to use
You might notice that there is no brainfuck option when choosing a language for your source code. This is no problem! You can use this C++ interpreter for brainfuck. This resource also contais a few classic examples (dfs, bfs, djikstra, Roy-Floyd etc.).
Advantages
Brainfuck has many advantages over c++:
- Builtin fast i/o.
- Builtin O(1) time complexity (there is a finite number of states so you can either end up in a cycle or finish execution).
- Builtin O(1) space complexity (memory is limited to 30 000 bytes).
- Only 8 commands (no room for human error).
- You now have the power to understand any Benq source really
- Immune to hacks (except from 3000+ rated users who learn brainfuck before they can walk).