https://9dok.net/document/yj7vpg05-aufgabe-algorithmen-floyd-brent-bestimmen-ste-n-x.html