質問


問題名 ユーザ名 質問 回答 全体公開 投稿日時 最終更新日時
B - Balanced Neighbors 2 admin
What does "the sum of the numbers of all vertices other than v that can be reached from v by traversing an edge once or twice" mean?
It means: the sum of the labels (vertex numbers/IDs) of all vertices other than v that are at graph distance 1 or 2 from v.
Yes