Rosetta Problems

Stern–Brocot 木

Stern–Brocot 木上の有理数について、根からの経路、経路からの復元、LCA、祖先、子孫の範囲の問い合わせを処理する。

関連リンク