How to calculate module over 10^14?

Revision en1, by _Faineant, 2023-12-13 07:13:14

Suppose Given a expression = (a*b*c)/(x*y*z) But as the value can be very big you have to output the final value mod 100000000000031 (1 <= a, b, c, x, y, z <= 10^18)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English _Faineant 2023-12-13 07:13:14 205 Initial revision (published)