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.
The color (c), internal state (q), repaint color (A), new internal state (S), and movement direction (D) of
the current position are displayed above the visualization results.
Hovering the mouse cursor over each cell of the grid displays the coordinates and color number in a tooltip.
The black line extending from the robot represents the movement path from the previous target.
The flag icon represents the next target, and turning on "show targets" will display all unvisited targets.
Turning on "show number" will display the color number on each cell.
Turning on both "show number" and "show targets" will display the order of the targets.
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 text area to the bottom of the grid displays the transition rules used at each turn (t).
By clicking the ▲▼ icons located above the text area, you can sort the list by each column.
The heatmap to the right of the grid shows the usage frequency for each rule (c, q).
Unused rules are shown in gray, with low usage being white and high usage being strong red.
The transition rule used in the current turn is highlighted in blue, and the rule for the next turn is
highlighted in green.
If C×Q>100000, the heatmap will not be displayed.
問題文はこちら。
使い方
Seed 欄の値を変えると対応する入力が Input 欄に生成されます。
Download ボタンを押すと、シード値が seed, seed+1, ..., seed+#cases-1 に対応する入力を一括ダウンロード出来ます。
生成された入力に対して解答プログラムをローカル実行し、プログラムの出力を Output 欄に貼り付けると、ビジュアライズ結果が表示されます。
▶ ボタンを押すと、アニメーションが開始します。
Save as PNG ボタンを押すと、ビジュアライズ結果のダウンロードが出来ます。
上部の「ファイルを選択」ボタンを押して出力ファイルを含むディレクトリを選択することで、複数の出力を素早く切り替えることが出来るようになります。
出力ファイル名を 1234.txt もしくは abcd_1234.txt という形式にすることで、ファイルを選択時に自動的にseed番号(この場合は1234)が設定されます。
ビジュアライズ結果の上部には、現在位置の色(c)、現在の内部状態(q)、次に適用される遷移規則による塗り替え色(A)、新しい内部状態(S)、移動方向(D)が表示されます。
盤面の各マスにマウスカーソルを合わせると、座標と色番号がツールチップで表示されます。
ロボットから伸びる黒線は、前回の目的地からの移動経路を表しています。
旗マークは次の目的地を表しており、「show targets」をオンにすると、未訪問の目的地もすべて表示されます。
「show number」をオンにすると、各マスに色番号が表示されます。
「show number」と「show targets」を同時にオンにすると、目的地の順番が表示されます。
盤面の下のテキスト欄は各ターン(t)に使用された遷移規則を表示しています。
欄上部にある▲▼をクリックすることで、各項目に関してソートを行うことができます。
盤面の右に表示されたヒートマップは、(c,q)ごとの使用回数を表しています。
未使用は灰色、使用回数が少ないほど白、多いほど濃い赤で表示されます。
現在ターンで使用される遷移規則は青、次ターンで使用される遷移規則は緑でハイライトされます。
C×Q>100000の場合にはヒートマップは非表示となります。
show number show targets
Visited: 0 / 0
Score = 0