How to calculate this thing. [MUST READ BLOG]

Revision en1, by Boring_Day, 2022-10-02 10:31:49

hey i want to calculate something i needed some attention so i wrote must read blog.

let's say i want to calculate a*b % P where 0<= a,b <= 1e9 and p = 1e9+7

how to calculate this by using only integer number i don't want to use long long as many stupid people do.

Tags calculation, recalculation, must to read, hard

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Boring_Day 2022-10-02 10:31:49 317 modulo (published)