sabertooth's blog

By sabertooth, history, 21 month(s) ago, In English,

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

Read more »

 
 
 
 
  • Vote: I like it
  • -3
  • Vote: I do not like it

By sabertooth, history, 2 years ago, In English,

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

Read more »

 
 
 
 
  • Vote: I like it
  • +41
  • Vote: I do not like it