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.
Each rectangle represents a cardboard box, and hovering the mouse cursor over it will display detailed
information in a tooltip.
The width of the rectangle represents the weight, and the height represents the durability.
The color of the rectangle is determined by the durability/weight ratio, with larger values appearing more blue
and smaller values appearing more red.
The stack of boxes you are holding is displayed on the right side.
問題文はこちら。
使い方
Seed 欄の値を変えると対応する入力が Input 欄に生成されます。
Download ボタンを押すと、シード値が seed, seed+1, ..., seed+#cases-1 に対応する入力を一括ダウンロード出来ます。
生成された入力に対して解答プログラムをローカル実行し、プログラムの出力を Output 欄に貼り付けると、ビジュアライズ結果が表示されます。
▶ ボタンを押すと、アニメーションが開始します。
Save as PNG ボタンを押すと、ビジュアライズ結果のダウンロードが出来ます。
上部の「ファイルを選択」ボタンを押して出力ファイルを含むディレクトリを選択することで、複数の出力を素早く切り替えることが出来るようになります。
出力ファイル名を 1234.txt もしくは abcd_1234.txt という形式にすることで、ファイルを選択時に自動的にseed番号(この場合は1234)が設定されます。
各長方形はダンボール箱を表し、マウスカーソルを合わせることで詳細情報がツールチップで表示されます。
長方形の幅は重量を、高さは耐久力を表しています。
長方形の色は耐久力/重量によって決まり、この値が大きいほど青く、小さいほど赤くなります。
手に持っている箱の山は右側に表示されます。