The problem statement is here.

Usage
Details

Changing the value in the Seed field will generate the corresponding input to the Input field.
By setting the M, K fields to values which meet the constraints of the input, you can change the input to the specified M, K values.
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 or Save as Animation GIF 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 red circles represent the presence of a house in the area, while the blue circles represent the presence of a workplace in the area.

When the checkbox for enable interactivity is checked, hovering over an area will display information about that area in a tooltip, and if there is a house or workplace in that area, the area where the other house or workplace exists will be displayed with a thick border.
It is recommended to uncheck the option during animation display, as it may lead to decreased performance.

問題文はこちら

使い方
詳細

Seed 欄の値を変えると対応する入力が Input 欄に生成されます。
M, K 欄を問題文中の入力の制約を満たす値に設定することで、入力を指定された M, K の値に変更できます。
Download ボタンを押すと、シード値が seed, seed+1, ..., seed+#cases-1 に対応する入力を一括ダウンロードできます。

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

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

赤の丸はその区画に家が存在することを、青の丸はその区画に職場が存在することを表します。

enable interactivity にチェックを入れると、区画にマウスホバーすることでその区画の情報をツールチップ表示し、その区画に家や職場がある場合、家または職場のもう一方が存在する区画を太枠で表示します。
動作が重くなるため、アニメーション表示時にはチェックを外しておくことをおすすめします。


fix M: fix K:


Score:
Money:
Income:
Action: