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 top part of the visualization shows the current state of the palette, while the bottom part displays the target colors and the colors actually produced.
The cell involved in the next operation for the current turn is highlighted with a red border.
Hovering the mouse cursor over a cell displays detailed information in a tooltip.
The intermediate score uses the number of colors created up to that point, instead of the total number of target colors H.

Paint contained in each well is visualized as rectangles drawn over the cells that belong to that well.
The size of each rectangle corresponds to the ratio of "paint volume ÷ well capacity."
Only rectangles above a certain threshold are displayed, so after a well is split, one side may not be shown. This is intended behavior, not a bug.

問題文はこちら

使い方

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

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

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

ビジュアライズ画像の上部には現在のパレットの状態が、下部には目標の色と実際に作成された色が表示されます。
現在のターンに行う次の操作に関連するマスが赤枠で囲まれています。
各マスにマウスカーソルを合わせると、詳細情報がツールチップで表示されます。
途中段階のスコアは、作成すべき色の数 H の代わりに、その時点までに作成した色の数を使用しています。

各ウェルに入っている絵の具は、そのウェルに属する各マス上に四角形で描画されます。
四角形の大きさは、「絵の具の量 ÷ ウェルの容量」に対応しています。
この値が一定以上のもののみを描画しているため、ウェルを分割した際に片方の表示が消える場合がありますが、これは仕様によるものです。ご了承ください。


fix K: fix T: fix D: