The problem statement is here.

Usage

Changing the value in the Seed field will generate the corresponding input to the Input field.
Pressing the Download button will download the inputs for seed values seed, seed+1, ..., seed+#cases-1 at once.

By running your program locally against the generated input and pasting the output of your program into the Output field, the visualization results will be displayed.
Pressing the ▶ button starts animation.
By pressing the Save as PNG button, you can download the visualization results.

You can quickly switch between multiple outputs by pressing the Select File button at the top and selecting the directory containing the output files.
By naming the output file 1234.txt or abcd_1234.txt, the seed number (in this case 1234) is automatically set when the file is selected.

The coordinate system is x to the right and y up, with (0,0) at the bottom left. Each time t shows post-merge positions and all edges connected up to that time.
Hovering a point shows its coordinates (rounded to integers), velocity (rounded to two decimals), and component size. Hovering an edge shows its endpoint indices and the torus distance d.
Colors follow connected components at time T. Components that fail the final condition (size not equal to K or containing a cycle) are drawn in gray.

問題文はこちら

使い方

Seed 欄の値を変えると対応する入力が Input 欄に生成されます。
Download ボタンを押すと、シード値が seed, seed+1, ..., seed+#cases-1 に対応する入力を一括ダウンロード出来ます。

生成された入力に対して解答プログラムをローカル実行し、プログラムの出力を Output 欄に貼り付けると、ビジュアライズ結果が表示されます。
▶ ボタンを押すと、アニメーションが開始します。
Save as PNG ボタンを押すと、ビジュアライズ結果のダウンロードが出来ます。

上部の「ファイルを選択」ボタンを押して出力ファイルを含むディレクトリを選択することで、複数の出力を素早く切り替えることが出来るようになります。
出力ファイル名を 1234.txt もしくは abcd_1234.txt という形式にすることで、ファイルを選択時に自動的にseed番号(この場合は1234)が設定されます。

座標は横がx、縦がyで、左下が(0,0)です。各時刻tの結合フェーズが終わった位置と、その時点までにつながった辺を描画します。
点にカーソルを合わせると、座標(x,y)、速度(vx,vy)、連結成分のサイズをツールチップに表示します。座標は整数に、速度は小数第2位までに丸めた値で表示します。
辺にカーソルを合わせると、両端の点の番号とトーラス距離dをツールチップに表示します。
色は最終時刻Tの連結成分ごとに塗り分けられます。最終時刻の成分が条件を満たさない(サイズがKでない、または閉路がある)場合は灰色で描画します。