In a kingdom far far away, the King decided that the time
has come to find a husband for his princess daughter. The
King wanted to find a worthy lad for his princess, so he
promised to give his daughter away to the first young (or
old) man who would solve the puzzle that has stumped the
best of his court mathematicians for years. The puzzle is
very simple: in a palace, there are 25 rooms arranged in a
square--5 rows of rooms with 5 rooms in each row. In every
room there is a light switch which not only switches on/off
the light in that room, but also switches the lights in the
adjacent rooms--the room to the right, to the left, the
room above and the room below. Initially, all of the
lights are turned off. The goal is to turn the lights on
in every room of the palace.
Answers were Sorted based on User's Feedback
Answer / ananya
X1X1X Superman,if u on 4 lights,then switches of the
10101 room denoted by X will not be turned on.
X1X1X
10101
X1X1X
.........................................................
U have to on 7 lights
The room of which light need to on is indicated by 0,
11011
01110
11011
01110
11011
| Is This Answer Correct ? | 37 Yes | 5 No |
Answer / daniela
1 1 0 0 0
1 1 0 1 1
0 0 1 1 1
0 1 1 1 0
0 1 1 0 1
1 - switch on the light
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / max
00600
10003
00500
20004
00700
Need to switch on 7 lights.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / pradip biswas
11111
10110
11111
11111
10110
0 indicates rooms you need to switch lights on... Its simple....
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / alphy
only 1 light need to switch on, gradually the remaining all
will become on.
1 0 0 0 0
0 0 0 0 0
0 0 0 0 0---->
0 0 0 0 0
0 0 0 0 0
1 1 0 0 0
1 0 0 0 0
0 0 0 0 0---->
0 0 0 0 0
0 0 0 0 0
1 1 1 0 0
1 1 0 0 0
1 0 0 0 0----> like this
0 0 0 0 0
0 0 0 0 0
| Is This Answer Correct ? | 12 Yes | 11 No |
Answer / tirupathi
X1X1X Superman,if u on 4 lights,then switches of the
10101 room denoted by X will not be turned on.
X1X1X
10101
X1X1X
.........................................................
U have to on 7 lights
The room of which light need to on is indicated by 0,
11011
01110
11011
01110
11011
Hi Ananya can you please explain this.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sharmesh kumar
Hi Ananya,
I have doubt in your solution as well.
.........................................................
U have to on 7 lights
The room of which light need to on is indicated by 0,
11011
01110
11011
01110
11011
.........................................................
Suppose the room are numbered like
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
Now,if room no. 3,6,10 were switched-on, this will switch-on
lights in the room (2,8,4);(1,7,11);(5,9,15) in that order
respectively. Now when 13th room light is lit, it will
switch-off the light of room no. 8 as well. So, if we follow
your approach, at last the lights from room no.s 8 & 18 will
be OFF.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / dolly
7 is the correct answer which is provided by Md.Answer no:5
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / pradip biswas
Sorry I did not understand the problem before ... My solution is wrong.
| Is This Answer Correct ? | 0 Yes | 0 No |
There are four groups of Mangoes, Apples and Bananas as follows: Group I : 1 Mango, 1 Apples and 1 Banana Group II : 1 Mango, 5 Apples and 7 Bananas Group III : 1 Mango, 7 Apples and 10 Bananas Group IV : 9 Mango, 23 Apples and 30 Bananas Group II costs Rs 300 and Group III costs Rs 390. Can you tell how much does Group I and Group IV cost?
What is the area of the triangle ABC with A(e,p) B(2e,3p) and C(3e,5p)? where p = PI (3.141592654)
Four men - Abraham, Bobby, Clinton and Denial - are standing in a straight line. 1. One man is fair, handsome and unscarred. 2. Two men who are not fair, are each standing next to Abraham. 3. Bobby is the only man standing next to exactly one handsome man. 4. Clinton is the only man not standing next to exactly one scarred man. Who is fair, handsome and unscarred?
In a kingdom far far away, the King decided that the time has come to find a husband for his princess daughter. The King wanted to find a worthy lad for his princess, so he promised to give his daughter away to the first young (or old) man who would solve the puzzle that has stumped the best of his court mathematicians for years. The puzzle is very simple: in a palace, there are 25 rooms arranged in a square--5 rows of rooms with 5 rooms in each row. In every room there is a light switch which not only switches on/off the light in that room, but also switches the lights in the adjacent rooms--the room to the right, to the left, the room above and the room below. Initially, all of the lights are turned off. The goal is to turn the lights on in every room of the palace.
with heavy raining ,At Midnight 12, aap car lekar ja rahe ho aur bus stand par 3 log (80 years woman , ur best friend , ur lover ) khade he....lekin aap kisi ek ko hi apni car me bitha sakte ho..to aap kya karoge aur kyu ????
Hi, this is das. i will attend bank of baroda 2008 clerical exam. i need model bank exam question papers. please send me. this is my mail id: thulasi.dasan@yahoo.co.in
a frog starts climbing 20 feet wall. each day he climbs 3 feet , he slips back 2 feet. how many day does the frog take to reach the top?
there is a desert. a professor has to cross it n it takes 6days for him to cross. there are enough food reserves and students who can help d professor cross d desert. each person including professor can carry only 4 food packets with him while crossing the desert. in d desert also, each person can hav at the most 4 packets with him and they need to eat one packet per person per day during their travel. how wil d professor reach the other side of desert??
There are two types of gangs one gang members always say truth others are liers u come accross a&b 1.a says "atleast one of us lier" a&b belongs to which gang??
In a college, the science department has three disciplines. In total, 280 students study chemistry, 254 students study physics and 280 students study biology. 97 students study both chemistry and physics, 138 students study both physics and biology, 152 students study both chemistry and biology. 73 students study all three disciplines. Can you determine how many students there are in the science department?
7 Answers Accenture, HSPA, Satyam,
Six cabins numbered 1-6 consecutively, are arranged in a row and are separated by thin dividers. These cabins must be assigned to six staff members based on following facts. 1. Miss Shalaka's work requires her to speak on the phone frequently throughout the day. 2. Miss Shudha prefers cabin number 5 as 5 is her lucky number. 3. Mr. Shaan and Mr. Sharma often talk to each other during their work and prefers to have adjacent cabins. 4. Mr. Sinha, Mr. Shaan and Mr. Solanki all smoke. Miss Shudha is allergic to smoke and must have non-smokers adjacent to her. 5. Mr. Solanki needs silence during work. Can you tell the cabin numbers of each of them?
Pinto says, "The horse is not Black." Sandy says, "The horse is either Brown or Grey." Andy says, "The horse is Brown." At least one is telling truth and at least one is lying. Can you tell the color of the horse?