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 left side of the visualization result shows the state of the board, and the right side shows the current
snake color sequence and the preferred color sequence.
The color sequences are displayed in multiple rows as pairs of snake color (top) and preferred color (bottom),
ordered from head to tail, from top to bottom, and from left to right in each row.
Hovering the mouse cursor over each cell will display detailed information in a tooltip.
Checking "show number" will display the color numbers in digits.
By checking "manual mode", you can move the snake with the arrow keys on your keyboard. You can also undo one
move with the Backspace key.
問題文はこちら。
使い方
Seed 欄の値を変えると対応する入力が Input 欄に生成されます。
Download ボタンを押すと、シード値が seed, seed+1, ..., seed+#cases-1 に対応する入力を一括ダウンロード出来ます。
生成された入力に対して解答プログラムをローカル実行し、プログラムの出力を Output 欄に貼り付けると、ビジュアライズ結果が表示されます。
▶ ボタンを押すと、アニメーションが開始します。
Save as PNG ボタンを押すと、ビジュアライズ結果のダウンロードが出来ます。
上部の「ファイルを選択」ボタンを押して出力ファイルを含むディレクトリを選択することで、複数の出力を素早く切り替えることが出来るようになります。
出力ファイル名を 1234.txt もしくは abcd_1234.txt という形式にすることで、ファイルを選択時に自動的にseed番号(この場合は1234)が設定されます。
ビジュアライズ結果の左側は盤面の状況を、右側は現在の蛇の色列と好みの色列を表しています。
色列は、蛇の色(上)と好みの色(下)のペアとして複数段で表示され、上から下、各段は左から右の順に、頭側から並んでいます。
各マスにマウスカーソルを合わせると、詳細情報がツールチップで表示されます。
「show number」にチェックを入れると、色番号が数字で表示されます。
「manual mode」にチェックを入れると、キーボードの矢印キーで蛇を動かすことが出来ます。また、Backspaceキーで1手戻すことが出来ます。
fix N:
fix M:
fix C:
show number