Introduction - If you have any usage issues, please Google them yourself
Classic MC problem (Savage and missionaries problem), given the number and the number of ships manned, to give a solution, the solution in the form of a sequence of triples, respectively, after each step and the number of ships left bank position.