2016-09-16から1日間の記事一覧

【Java】SRM 425 DIV2 Medium(500) - CrazyBot(深さ優先探索)

Problem Statement An out-of-control robot is placed on a plane, and it takes n random steps. At each step, the robot chooses one of four directions randomly and moves one unit in that direction. The probabilities of the robot choosing nort…