4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Mr.Ramki,
Assume,total no of breads,x=48
first person stole,x/2 = 48/2 = 24.
second person stole,x/4 =(x/2)/2 = 24/12 =12.
third person stole, x/8 = (x/4)/2 = 12/2 =6.
fourth person stole, x/16 = (x/8)/2 = 6/2 =3.
Total breads stolen= 24+12+6+3 =45.
Still at the end there are 3 breads remaining what has
mentioned in the given question.
Hence no of breads initially are,48.

If we assume no of breads initially,x=63.
first person=31
second person=15
third person=7
fourth person=3
Breads stolen=31+15+7+3=56
Remaining breads=63-56=7
But in the question at the end there must be 3 breads
remaining,but in your logic 7 breads remaining,so 63 is
wrong one.

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Well i guess 63 is right answer coz @Surya u have calculated
and just made half the breads evertime but u havent
considered the half the totle and also "half bread" !

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

soln:
no of breads initially=x
breads taken by first thief= x/2+1/2=(x+1)/2
remaining breads= x-((x+1)/2)=(x-1)/2
breads taken by second theif= ((x-1)/4)+1/2=(x+1)/4
remaining breads= x-((x+1)/4)=(x-1)/4
similarly,
remaining bread after third theif rob=(x-1)/8
remaining bread after forth theif rob=(x-1)/16
therefore,
(x-1)/16=3
x-1=48
x=49

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

Re: 4 thieves rob a bakery of the breadone after the other.each
thief takes half of what is present ,& half a bread...if
at the end 3 bread remains,what is the no of bread that
was present initially?

a car starting from station A at 8am reaches station B at 12
noon.if another car starting from station B at 9AM reaches
station A at 11:30AM,then the two cars will meet each other at

A number when divided by 100 leaves a quotient (Q) and a
remainder (R). How many three-digit natural numbers are
there such that Q + R is divisible by 11?

There are two sorted arrays
a1 and a2 of size n1 and size n2 respectively.
array a1 is full
array a2 has exactly n1(size of array a1) empty space.
example
a1[]=1234
a2[]=56789_ _ _ _
Write a function to merge these two arrays to form a sorted
array without any extra memory use.
i want a solution in c/c++ language

In a certain department store, which has four sizes of a
specific shirt, there are 1/3 as many small shirts as medium
shirts, and 1/2 as many large shirts as small shirts. If
there are as many x-large shirts as large shirts, what
percent of the shirts in the store are medium?
a) 10%
b) 25%
c) 33%
d) 50%
e) 60%

A starts from a place at 11.00 am and travels at a speed of
4 kmph , B starts at 1.00 pm and travels with speeds of 1
kmph for 1 hr , 2 kmph for the next hr , 3 kmph for the
next hr and so on. At wht time will B catch up with A ?

There are 9 balls of equal size and same weight(they look
similar) except 1. How many weights required to find the
dissimilar ball using a weighing balance?

City A's population is 68000, decreasing at a rate of 80
people per year. City B having population 42000 is
increasing at a rate of 120 people per year. In how many
years both the cities will have same population?

If you take a marker & start from a corner on a cube, what
is the maximum number of edges you can trace across if you
never trace across the same edge twice, never remove the
marker from the cube, & never trace anywhere on the cube,
except for the corners & edges?

Given 3 lines in the plane such that the points of
intersection form a triangle
with sides of length 20, 20 and 30, the number of points
equidistant from all the 3
lines is
1
4
3