Need help with Modulus Arithmetic

Will be posted after contest is over.

1 Like

For division, the formula is (a/b)%c=((a%c)∗(b_inverse%c))%c

1 Like

From an ongoing contest :slight_smile:

1 Like

Nhi bataya hota toh kisiko pata nhi chalta… :joy: kartahu delete…

1 Like

muje toh pakaa pata chal jaata :stuck_out_tongue:

2 Likes