Last Updated:2025/12/06
For generating a random single-cycle permutation of a list of players, we implemented Sattolo's algorithm.
See correct answer
For generating a random single-cycle permutation of a list of players, we implemented Sattolo's algorithm.
音声機能が動作しない場合はこちらをご確認ください
Edit Histories(0)
Source Sentence
プレイヤーの一覧からランダムな単一サイクル置換を生成するために、配列全体の任意の順列ではなく長さnの最大長のサイクルを一様に生成するフィッシャー=イェーツ・シャッフルの変法を実装しました。