Re: [algogeeks] Easy problem of programming contest... turning each position of an the array in equals values

2013-10-08 Thread viswanath vellaiappan
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

Re: [algogeeks] SPOJ

2011-07-23 Thread viswanath vellaiappan
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,

[algogeeks] Re: C aps output

2011-05-21 Thread viswanath vellaiappan
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