Description: 15 Christians and 15 pagans take a boat sailing with the way waves rang out, the crisis could she, pilot and tell you that, as long as half of the entire ship into the sea, the rest can be spared. We all agree with this approach, and the agreement, 30 people form a circle from the number reported since the first one, every few to 9 locked him into the sea, the next one and then began to count off from 1, Section 9 of them were put into the sea, followed by cycle, until the remaining 15 people so far. The question is how to make France into the sea in the row of people who are all infidels?
To Search:
File list (Check if you may need any files):
4_22.cpp
4_22.dsp
4_22.dsw
4_22.ncb
4_22.opt
4_22.plg
智者生存.doc