Problem about four Petersburgers whose professions are not easy to define
Problem about four Petersburgers whose professions are not easy to define
Anonim

Deal with the tricky condition and find out who works for whom.

Problem about four Petersburgers whose professions are not easy to define
Problem about four Petersburgers whose professions are not easy to define

Kuznetsov, Danilov, Mikhailov and Saltykov live in St. Petersburg. Their professions are architect, manager, programmer and lawyer.

Kuznetsov and Danilov are neighbors. They always commute to work together. Danilov is older than Mikhailov. Kuznetsov regularly beats Saltykov in squash on weekends. An architect always walks to work. The lawyer does not live next to the manager. The programmer and the lawyer met only once to settle the documents. A lawyer is older than a manager and a programmer.

Who does what? Define!

The architect always walks to work, while Kuznetsov and Danilov go. This means that the name of the architect is not Kuznetsov or Danilov. Let's make a table and mark it in it.

Architect Manager Programmer Lawyer
Kuznetsov -
Danilov -
Mikhailov
Saltykov

The lawyer saw the programmer for the only time and is not the manager's neighbor. Hence it follows that the pair of neighbors "Kuznetsov + Danilov" cannot be either a pair of "lawyer + manager" or a pair of "lawyer + programmer".

Consequently, Kuznetsov and Danilov are a manager and a programmer. It is not yet known which of them is who. Let's make the appropriate notes in the table.

Architect Manager Programmer Lawyer
Kuznetsov - -
Danilov - -
Mikhailov
Saltykov

Now let's figure it out with age. Taking into account the conclusions already made and the last condition of the problem, we can say that the lawyer is older than Kuznetsov and Danilov.

It is also known that Danilov is older than Mikhailov. Consequently, Mikhailov is not a lawyer. This means that the lawyer is Saltykov, and Mikhailov is an architect. Let's note what we learned in the table.

Architect Manager Programmer Lawyer
Kuznetsov - -
Danilov - -
Mikhailov + - - -
Saltykov - - - +

Now it becomes clear that the squash partner of the lawyer Saltykov is a manager, not a programmer, with whom they met once. So, Kuznetsov is a manager, and Danilov is a programmer.

Answer: Kuznetsov is a manager, Danilov is a programmer, Mikhailov is an architect, Saltykov is a lawyer.

Show answer Hide answer

The original problem can be viewed in the book "Your Free Time" by V. Bolkhovitinov, B. Koltovy and I. Lagovsky.

Recommended: