this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To unsubscribe from this group and stop receiving emails from it, send an
email to algogeeks+unsubscr...@googlegroups.com.
--
Rohit Jangid
http://rohitjangid.com
Graduate
Deptt. of Computer Engineering
NSIT
after few attempts I think you must be getting stuck where you need a^3 +
b^3 + c^3 value in terms of abc, C1, and C2 which is possible using this
identity--
(a+b+c)³=(a³+b³+c³)+3[(a+b+c)(ab+ac+bc)-abc]
refer this link for the proof
a very standard dp problem . try to formulate recurrence relation . it has
been mentioned a couple of times on stackoverflow as well .
On May 5, 2013 8:28 AM, sreekanth guru sreekanth.i...@gmail.com wrote:
There n stages of a game. At each stage i you will come across a devil.
Each devil has
.
To unsubscribe from this group and stop receiving emails from it, send an
email to algogeeks+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Rohit Jangid
Graduate
Deptt. of Computer Engineering
NSIT, Delhi University, India
--
You
Sandeep
s.shubhamsand...@gmail.comwrote:
on my system every time o/p is 0
using ubuntu 10.04 ,gcc compiler
On Mon, Mar 4, 2013 at 7:34 AM, rohit jangid rohit.nsi...@gmail.comwrote:
output for me for the previous snippet
localhost:slingshot rohitjangid$ ./a.out
1799476872
1799474584
are subscribed to the Google Groups
Algorithm Geeks group.
To unsubscribe from this group and stop receiving emails from it, send an
email to algogeeks+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Rohit Jangid
Graduate
Deptt. of Computer
to algogeeks+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Rohit Jangid
Graduate
Deptt. of Computer Engineering
NSIT, Delhi University, India
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group
On Mon, Mar 4, 2013 at 7:33 AM, rohit jangid rohit.nsi...@gmail.com wrote:
yeah true . one interesting thing I noticed is that if you run this code
#includestdio.h
int main()
{
int i = 0;
do {
printf (%d\n,(float)1);
}while(i++ 1);
return 0;
}
one would expect same
isn't that simply because if little indian endian way of storing bytes in
memory
initial -- 0001 0..
finally-- 0010 0..
On Sep 22, 2011 5:38 PM, Rohit Upadhyaya mailtoroh...@gmail.com wrote:
int main()
{
int a=256;
char *p=a;
*++p=2;
printf(%d,a);
got 45 on linux
than tried with fflush(stdout) and got 9 which is correct . so I guess that
both child and parent process getting the same buffer and thus resulting in
more number of hello
correct answer is 9 as already mentioned
On Sep 21, 2011 7:57 PM, sush57 sushaant...@gmail.com wrote:
.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
Rohit Jangid
Under Graduate Student,
Deptt. of Computer Engineering
NSIT, Delhi University, India
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post
@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
Rohit Jangid
Under Graduate Student,
Deptt. of Computer Engineering
NSIT, Delhi University, India
email to
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
Rohit Jangid
Under Graduate Student,
Deptt. of Computer Engineering
NSIT, Delhi University, India
--
You received this message because you are subscribed
ok check this, https://ideone.com/hZboG
there may be bugs in coding, but I'm quite sure that algo is correct
need to check more cases though
but working on all the cases discussed here
is there any proof that greedy won't work in this case?
On Sat, Aug 13, 2011 at 11:03 PM, rohit jangid rohit.nsi
at
http://groups.google.com/group/algogeeks?hl=en.
--
Rohit Jangid
Under Graduate Student,
Deptt. of Computer Engineering
NSIT, Delhi University, India
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks
it will give error in line 3 because nodeptr is undefined till that point..
On Aug 9, 2011 8:03 PM, programming love love.for.programm...@gmail.com
wrote:
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to
will nodeptr stand
for?
On Tue, Aug 9, 2011 at 8:09 PM, rohit jangid rohit.nsi...@gmail.com
wrote:
it will give error in line 3 because nodeptr is undefined till that
point..
On Aug 9, 2011 8:03 PM, programming love
love.for.programm...@gmail.com
wrote:
--
You received this message because you
when you declared h it contains garbage address . h-a is meaningless .
read pointers chapter from K nd R for full details about pointers in C .
On Aug 9, 2011 9:11 PM, programming love love.for.programm...@gmail.com
wrote:
#includestdio.htypedef struct {char * a;
}*nodeptr;
main(){nodeptr
options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
Rohit Jangid
Under Graduate Student,
Deptt. of Computer Engineering
NSIT, Delhi University, India
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post
...@gmail.com wrote:
Well actually there are about 1000 values to be stored, but the value
itself
is small(url of a website..).. i think it should not be a major
bottleneck..
Thanks,
Priyanshu
On Mon, Aug 8, 2011 at 2:39 PM, rohit jangid rohit.nsi...@gmail.com
wrote:
javaScript's array are just
20 matches
Mail list logo