Contest #2 editorial

Правка en8, от hundera, 2024-05-01 17:45:43

A.Party

We can notice that the Level of the Employee matters for it to have dinner with the others. Which is basically his level in the graph which decides this. So what we can do is to construct the graph with keeping track of the indegree of the node and doing BFS starting from the nodes which have 0 indegree because they are the top level managers and collecting all of them who have the same level to one place.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en15 Английский hundera 2024-05-08 08:48:54 6 (published)
en14 Английский hundera 2024-05-08 08:48:29 3465
en13 Английский hundera 2024-05-08 08:39:47 2650
en12 Английский hundera 2024-05-08 08:02:31 2830
en11 Английский hundera 2024-05-01 18:02:21 1278
en10 Английский hundera 2024-05-01 17:48:27 1306
en9 Английский hundera 2024-05-01 17:46:46 39
en8 Английский hundera 2024-05-01 17:45:43 422
en7 Английский hundera 2024-05-01 17:41:39 1253
en6 Английский hundera 2024-05-01 17:41:05 2
en5 Английский hundera 2024-05-01 17:40:42 1258 Tiny change: '# [A.Party' -> '### [A.Party'
en4 Английский hundera 2024-05-01 17:40:23 2 Tiny change: '# [A.Party' -> '### [A.Party'
en3 Английский hundera 2024-05-01 17:40:13 1252
en2 Английский hundera 2024-05-01 17:39:42 1328
en1 Английский tesfaymebre 2024-04-26 20:01:42 32 Initial revision (saved to drafts)