Clue to this problem is: *Average*
*
*
* *Think of what the effect of choir notes total its average
when a conductor determines two singers for change in notes. It should be
fairly straight forward with the sample Input Output.
Let me know if you still have trouble with
I agree with Shady on asking for algo for the problem but lets not be hard
on posting spoj question on spoj forum as these too involves algorithm (our
interest).
@KK : Can you tell us the judging status you are hitting? (Wrong answer,
timeout??).
~Viswanath.
On Sat, Jul 23, 2011 at 4:57 PM,
Hello,
I guess
http://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/
will help you to understand better. Basically the output will depend
on endianess of the system. I guess your machine were you ran this
program is little endiness machine. Let me know if