Hello. It is necessary to solve the problem, but I can not understand the essence. I do not demand a ready-made solution, so that they do not think that I have not put an effort) I want to decide and try, but maybe someone can clearly explain what they want from me. I do not understand how the matrix is constructed, where the answer comes from, and in general I cannot grasp any logical chain. Thanks to all!
Closed due to the fact that the essence of the question by Nick Volynkin ♦ 5 Sep '16 at 10:40 is incomprehensible.
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
- 2At first glance - the task of determining the size of a connected component of the graph. Depth search should help. - Harry
- This is a very simple task. Start by translating into Russian. You probably have a problem with that. I would write you a solution, but the site’s policy, as far as I know, prohibits helping with homework. - Astronavigator
- It seems to be translated normally, but I still can not figure it out. - Artyom Oleynichenko
- @Astronavigator, community policy does not encourage asking such questions. Nobody forbids replying to them to make a turnip, although some participants start to grumble after this in a chat) - Duck Learns to Take Cover
- @ArtyomOleynichenko, if translated - edit the question and paste the translation - Grundy
|