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

Автор sabertooth, история, 6 лет назад, По-английски

I have to calculate A^b where A^b can be a huge number then find The SOD(Sum of divisors) of that number.

So, If I calculate SOD(bigmod(A,b,mod)) will this return the same value as SOD(A^b) % mod

Asking for this As I am getting WA and could not get where I mistaken...

Link to the Problem

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

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

Автор sabertooth, история, 7 лет назад, По-английски

It's like 10h+ that I submitted a problem and from then I noticed that everyone submission is in queue! [Update]: Its fixed now :)

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

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