Блог пользователя Harshu2608

Автор Harshu2608, история, 4 года назад, По-английски

linear diophantine equation: ax+by=c where a,b,c are given and range of x and y are given. 1.)how to find the number of integral solution between the range? 2.)find x and y for which x+y is minimum

Полный текст и комментарии »

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится

Автор Harshu2608, история, 4 года назад, По-английски

If we Know the value of c where c=((a%mod)*(b%mod))%mod , the value of (a%mod) is given.How to find the value of (b%mod). a,b,c are integer and mod=1e9+7.

Example: mod=1e9+7 c=386724027 (a%mod)=787871 how to find the value of (b%mod)? ans=9192351 Can anyone help me to solve this?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +7
  • Проголосовать: не нравится