There are \(n^n\) possible outcomes. Since there are n runners, and there are n amount of finishing positions, the total number of possible outcomes are \(n^n\). This should work if you consider some of the tied positions to be different (eg: tied for second place with two runners and tied for first place with two runners).