fork download
  1. N, S, E, W = 1, 2, 4, 8
  2. DX = { E => 1, W => -1, N => 0, S => 0 }
  3. DY = { E => 0, W => 0, N => -1, S => 1 }
  4. OPPOSITE = { E => W, W => E, N => S, S => N }
Success #stdin #stdout 0s 28688KB
stdin
Standard input is empty
stdout
Standard output is empty