mod-applied-per-multiply

Status: IN

In prime-arrangements, modular reduction (`% MOD`) is applied at each multiplication step rather than once at the end, keeping intermediate values bounded — a pattern used across competitive-programming solutions in this repo.

Source: entries/2026/06/06/prime-arrangements-solution.md

JSON