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/GIF buttons, 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 top part of the visualization result shows the itemsets compared in the balance in the current query, and the bottom part shows the final output division or the current tentative division passed in the comments.
Each rectangle represents an item and has a length proportional to its weight.
Light items are colored blue and heavy items are colored red.
Pointing the mouse cursor over each rectangle displays the number and weight of the corresponding item in a tooltip.
If the item is currently in use in the balance, the corresponding two rectangles are highlighted simultaneously so that you can check the correspondence.

問題文はこちら

使い方

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

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

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

ビジュアライズ結果の上部に現在のクエリにおいて天秤で比較したアイテム集合が、下部には最終的に出力した分割、もしくはコメント機能で指示した現在の暫定解が表示されます。
各長方形がアイテムを表し、重さに比例した長さを持ちます。
軽いアイテムは青色で、重いアイテムは赤色で表示されます。
各長方形にマウスカーソルを合わせると、対応するアイテムの番号と重さがツールチップで表示されます。 そのアイテムが現在天秤で使用中の場合、対応する2つの長方形が同時に強調表示されることにより対応を確認することが出来ます。


fix N: fix D: fix Q:


Comment: