Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

sabertooth's blog

By sabertooth, history, 7 years 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

Full text and comments »

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

By sabertooth, history, 7 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 :)

Full text and comments »

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