Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
18
Task/Dijkstras-algorithm/AWK/dijkstras-algorithm-2.awk
Normal file
18
Task/Dijkstras-algorithm/AWK/dijkstras-algorithm-2.awk
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
$ cat dijkstra.txt
|
||||
a b 7
|
||||
a c 9
|
||||
a f 14
|
||||
b c 10
|
||||
b d 15
|
||||
c d 11
|
||||
c f 2
|
||||
d e 6
|
||||
e f 9
|
||||
a e
|
||||
a f
|
||||
f a
|
||||
|
||||
$ awk -f dijkstra.awk dijkstra.txt
|
||||
a-c-d-e (26)
|
||||
a-c-f (11)
|
||||
f-a (n/a)
|
||||
Loading…
Add table
Add a link
Reference in a new issue