[Show all top banners]

Thyangboche
Replies to this thread:

More by Thyangboche
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 Prisoner's Path ........
[VIEWED 7419 TIMES]
SAVE! for ease of future access.
Posted on 06-15-07 4:47 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Figure shows -
_ _ _ _ _
|D|P|P|P| 1
|_|_|_|_|
|P|P|P|P| 2
|_|_|_|_|
|P|P|P|P| 3
|_|_|_|_|
|P|P|P|G| 4
|_|_|_|_|
A B C D

In a 4x4 prison, there is a dangerous prisoner at cell A1 and a guard at cell D4. All the other cells are occupied by normal prisoners. From any cell one can go to N, S, E, W but not diagonally. The only exit is at the guard's cell. The dangerous prisoner can kill any other prisoner and the guard, but if he enters the cell of a dead person will die out of shock. Also note that he has to kill everyone to escape. One day, the dangerous prisoner escaped from the prison. What path did he choose?
 
Posted on 06-15-07 5:01 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Here is the answer:

A1(D) -> A2 -> A3 -> B3 -> B2 -> B1 -> C1 -> D1 -> D2 -> C2 -> C3 -> D3 -> D4 -> C4 -> B4 -> A4 (G)
 
Posted on 06-15-07 5:04 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

guard is in d4
 
Posted on 06-15-07 5:08 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

raazstone, problem understanding is far better than problem solving!

delta, yes it's D4.

Note: The figure will posting is distorted also plz avoid difficulty. Sorry to Sajha!!!!!!!
 
Posted on 06-15-07 5:23 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

My bad! Is this one right?

 
Posted on 06-15-07 5:26 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

deosn't seem right. how can he go from a1 to d1?
 
Posted on 06-15-07 5:28 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Thyangbo said the dangerous prisioner can go S N E W.
i don't know if it's right, just a guess!
 
Posted on 06-15-07 5:30 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Raazstone, without laughing just argue the fact that how A1(D) reached D1. Hope you got the result what I meant by this notion.
 
Posted on 06-15-07 5:41 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Also, multiple answers exist in this question from my POV.
 
Posted on 06-15-07 5:52 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

thyangbo, I was thinking outside the box!
 
Posted on 06-15-07 6:01 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

A1 -> A2 -> A3 -> A4 -> B4 -> B3 -> B2 -> B1 -> C1 -> D1 -> D2 -> C2 -> C3(does not finish him now) -> D3 -> C3(finish him off) -> C4 -> D4 ---------------> .....?
 
Posted on 06-15-07 6:05 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Birkhae, Nice joke(doesnot finish him now) LOL!!!
 
Posted on 06-15-07 6:17 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

its just coz your question doesn't mention that the Dangerous prisoner can't pass the room without killing the occupant
 
Posted on 06-16-07 8:43 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Solution-

A1->B1->A1->A2->A3->A4->B4->B3->B2->C2->C1->D1->D2->D3->C3->C4->D4

There are multiple and valid solutions!!!
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
Conservative discussions
TPS Re-registration case still pending ..
TPS for Nepal likely to extend next week
सालीको चाक
ChatSansar.com Naya Nepal Chat
TPS for Venezuela is terminated, only 60 days extension for transition period
TPS to F1 Status.
TPS To F-1 COS
Venezuela TPS lawuit
tesla stock OMG !!
Those who are in TPS, what’s your backup plan?
TPS Sakiyo Tara Case is in Court.
Got my F1 reinstatement approved within 3 months(was out of F1 for almost 2 years)
Homeland Security revokes temporary status for 532,000 Cubans, Haitians, Nicaraguans and Venezuelans
Has anyone here successfully reinstated to F-1 status after a year-long gap following a drop from F-1?
I hope all the fake Nepali refugee get deported
Court Hearing Approval.
Need Help of IT consultancies
Nepal TPS decision
Supreme Court allows Trump to end TPS for Venezuelans
Looking for girl
Who is hottest nepali female?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters