質問


問題名 ユーザ名 質問 回答 全体公開 投稿日時 最終更新日時
A - Ore Rolling (A) paleApricot
どういったときに不正な出力になりますか?

例えば1, 2の操作のときにN×N の外に出る場合はWAになりますか?
以下の場合にWAとなります。
・操作回数が10000を超える
・盤面の外へ出るような操作を行う
・岩や鉱石の存在しないマスで操作2・3を行う
・操作2で別の岩や鉱石があるマスに運ぶ


A Wrong Answer (WA) will occur in the following cases:
- The number of operations exceeds 10,000.  
- An operation attempts to move outside the grid.  
- Operation 2 or 3 is performed on a square that does not contain a rock or ore.  
- In Operation 2, an attempt is made to carry a rock or ore to a square that already contains another rock or ore.  
Yes