Skip to content

Instantly share code, notes, and snippets.

@apahim
Last active June 7, 2016 14:38
Show Gist options
  • Save apahim/f363b4406e94740afdb0d6b8f0cbb27d to your computer and use it in GitHub Desktop.
Save apahim/f363b4406e94740afdb0d6b8f0cbb27d to your computer and use it in GitHub Desktop.
$ python walking_robot.py
Matrix:
46B(1131) E59(3673) EA( 234) C1F(3103) 45E(1118) 63( 99)
899(2201) FFF(4095) 926(2342) 7AD(1965) C4E(3150) FFF(4095)
E2E(3630) 323( 803) 6D2(1746) 976(2422) 83F(2111) C96(3222)
9E9(2537) A8B(2699) 9C1(2497) 461(1121) F74(3956) D05(3333)
EDD(3805) E94(3732) 5F4(1524) D1D(3357) D03(3331) DE3(3555)
89( 137) 925(2341) CF9(3321) CA0(3232) F18(3864) 4D2(1234)
-------------------------------
Minimun cost from left/top to right/down: 24146
Path: r,r,d,d,r,d,d,r,r,d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment