Your mission
Read a coordinate written as text and return how many blocks remain before the far lands.
today's brief
Walk far enough in Minecraft Beta and the world stops behaving. Past 12,550,821 blocks from the middle the terrain generator runs out of precision in its own arithmetic, and the ground turns into a solid wall of stone with fog stapled to it. Notch fenced the far lands off in Beta 1.8, back in 2011. The pocket edition kept them for years and people made pilgrimages. How far do you have left?
See it in action
blocks_to_farlands("0")12550821blocks_to_farlands("12550820")1blocks_to_farlands("12550821")0
Your checklist
Constraints
- Expected file
coord.c- Allowed functions
- None. Write every helper yourself.
