Complete guide to programming in BrainF++ and using the contest platform.
Functions are declared with curly braces. The syntax is {ab code here} where the two-letter function name immediately follows the opening brace, followed by the function code, then the closing brace.
Execution always begins in the main function {mn code here}. Code outside of any function is ignored and does not execute.
Use the semicolon ; command to return a value from a function. The current cell value is returned and replaces the cell value at the call site.
To call a function, use parentheses with the two-letter function name: (ab). The current cell value is passed as input, and the return value replaces the current cell.
Global cells are cells which are accessible to the left of the starting cell. They are static across all function calls.