Hamiltonish Path

AtCoder - agc013_b