How to calculate this thing. [MUST READ BLOG]

Правка en1, от 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.

Теги calculation, recalculation, must to read, hard

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Boring_Day 2022-10-02 10:31:49 317 modulo (published)