Re: [algogeeks] [SPOJ] ZSUM

2011-10-20 Thread Wasif Hossain
Just a MINOR change. please change the RED line(I've marked it below) in your code by the following line: *return (x*((z*z)%MOD))%MOD;* and enjoy an *ACCEPTED *verdict.* * *Wasif Hossain** * B.Sc. Student of Final Semester, Computer Science and Engineering(CSE), Bangladesh University

Re: [algogeeks] Re: why we can not swap values using macro?

2011-10-19 Thread Wasif Hossain
@prasad jondhale: +1 Thanx. Wasif Hossain Final Semester Student, Computer Science and Engineering(CSE), Bangladesh University of Engineering and Technology(BUET) Dhaka, Bangladesh. On Wed, Oct 12, 2011 at 3:47 AM, prasad jondhale jondhale.pra...@gmail.comwrote: hey man u have made a very

Re: [algogeeks] IVY comptech????

2011-10-07 Thread Wasif Hossain
Humble query to Admin: Is this question still relevant to this group by now when interview-street is running properly? On Thu, Oct 6, 2011 at 2:26 AM, htross htb...@gmail.com wrote: Does anybody know what kind of questions are asked in ivy comptech??? '' -- You received this message because

Re: [algogeeks] Algo for in-place Stack Reversal.

2011-10-07 Thread Wasif Hossain
@Ankur: +1 On Fri, Oct 7, 2011 at 8:44 PM, Ankur Garg ankurga...@gmail.com wrote: To do inplace stack reversal u need a mechanism by which u can transfer the first node to last of the stack making sure u have count of other nodes here Say u have stack 5- top 4 3 2 1 The answer