Guide to modular arithmetic (plus tricks) [CodeChef edition] [There is no other edition]

@galencolin I think you mean a - b in fast subtraction section.

1 Like

Yep, sorry, just a copy/paste error. Fixed