1
0

rename statics/euler and sync b93 code with main repo

This commit is contained in:
2017-11-20 17:38:54 +01:00
parent 0efeb3afeb
commit 69e3f51730
409 changed files with 745 additions and 509 deletions

View File

@@ -0,0 +1,9 @@
Well, this is practically extremely simple path finding.
We generate an array where we remember the shortest distance from [0,0] to this node.
Initially we can set `distance[0, 0] = data[0,0]`
The we got through our data row by row and column by column.
The distance of every node we visit is the minimum of `top-node-distance + own value` and `left-node-distance + own value`.
Then after we iterated through every single node the result is written in the bottom right corner.