Description: 15 Christians and 15 pagans by a ship sailing the way storm comes up, the extreme of crisis, the leader tell you, as long as half of the ship into the sea, the rest can be spared. We all agree with this approach, and agreements were 30 circle the number of reported starting from the first person, each number to nine people locked him into the sea, the next and then start from one number off, nine were also into the sea, followed by cycle, until the remaining 15 people so far. The problem is how to row method to put into the sea in all infidels?
To Search:
File list (Check if you may need any files):
智者生存
........\4_22.cpp
........\智者生存.doc