just a simple sum

modulo

#1

can someone explain its algorithm in detail?


#2

Er… Which algorithm??


#3

I believe he asked about this : http://www.codechef.com/OCT09/problems/H4/


#4

I think that’s what you are looking for…
http://www.codechef.com/wiki/tutorial-just-simple-sum


#5

@shdut,

People already provided you with links for your problem, and I hope you can solve it :slight_smile:

But please, if you intend to obtain help from the community try to be as descriptive and organized as it is possible to you.

This is because it actually makes a lot easier for people to help you out and both you and the helper can benefit more of your questions :smiley:

Please take this as an advice and not actually a critic :slight_smile:

Bruno