Hello,
There are multiple openings in Microsoft for 3+ years experienced folks in
Hyderabad and Bangalore across Dev,Test and PM disciplines. Main technology
stack in MS is .NET based.
Interested folks send across your resume to me.
Required:
Good academic background
Strong understanding in
the example given in the link , tried 2-3 other example ..it seems to work
for them.Maybe problem is not that simple and may fail for some tricky test
case.So please correct me if i am wrong:-
input : 2 3 4 1 1
sort(input) : 1 1 2 3 4
k=3
from end keep on adding till k-1
add position 4 become :
help needed in spoj problem EASYMATH http://spoj.pl/problems/EASYMATH.. i
thought about inclusion exclusion principle but unable to get to a
solution.. plz help..
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To view this discussion on the
#includeiostream.h
int rec(int i)
{
static int d=1;
if(i=5)
return i;
d=d+i;
i=i+i;
rec(d);
}
int main()
{
coutrec(1);
return 0;
}
various compilers give diffrent result... why so???
n how d value is calculated by differnt compilers.. whhat is d correct
output n which compiler to trust??
--
You
voilate sequence point rule...acc to c++ standard
no complier to trust
On 25 Sep 2012 21:27, Ravi Ranjan ravi.cool2...@gmail.com wrote:
#includeiostream.h
int rec(int i)
{
static int d=1;
if(i=5)
return i;
d=d+i;
i=i+i;
rec(d);
}
int main()
{
coutrec(1);
return 0;
}
various
@atul
so 8 will be the answer or is it not fixed???
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
*i = i + i; // *this voilate sequence point rule
output is compiler dependent.
On Tue, Sep 25, 2012 at 9:59 PM, Ravi Ranjan ravi.cool2...@gmail.comwrote:
@atul
so 8 will be the answer or is it not fixed???
--
You received this message because you are subscribed to the Google Groups
this is not a sequence point rule... there is only one way of evaluation
here.
correct me if wrong...
On Tue, Sep 25, 2012 at 11:26 PM, atul anand atul.87fri...@gmail.comwrote:
*i = i + i; // *this voilate sequence point rule
output is compiler dependent.
On Tue, Sep 25, 2012 at
correct...my fault
On Wed, Sep 26, 2012 at 12:04 AM, shady sinv...@gmail.com wrote:
this is not a sequence point rule... there is only one way of evaluation
here.
correct me if wrong...
On Tue, Sep 25, 2012 at 11:26 PM, atul anand atul.87fri...@gmail.comwrote:
*i = i + i; //