The outer loop runs $n$ times.
For every value of $i$, the middle loop also runs $n$ times.
For every pair $(i, j)$, the inner loop runs $n$ times.
So the total number of executions of the innermost statement is:
$n \times n \times n = n^3$
The statement:
$\texttt{total += i * j * k}$
takes constant time.
Therefore, total time complexity is: $O(n^3)$