You are not signed in.
To save solutions, earn points and appear on the leaderboard. register or sign in.

Coordinates

Description

Starting from the point (0,0) on a grid, you are given a set of instructions:

^ = Up one unit

v (lowercase v) = Down one unit

> = Right one unit

< = Left one unit

For example, the instruction "<^<" would end up at coordinate (-2, 1)

Give your answer in the form: (a, b) (include brackets and space after comma)


Question

What coordiante would the instruction set: "^<><>^<^^v^^<^v<<<^<^<^^>^v<^^^^^^<<^^<<^<^<^^<<>" end up?


What coordiante would the instruction set: "^<><>^<^^v^^<^v<<<^<^<^^>^v<^^^^^^<<^^<<^<^<^^<<>" end up?