In a complete binary tree, elements are stored in an array in level-order traversal. The left child of an element at index \(i\) is at index \(2i + 1\), and the right child is at index \(2i + 2\). The largest element of the tree will be at the root (index 0), and the second largest will be one of its children, and so on.
The third largest element is the element that is stored at index:
\[
\boxed{509}.
\]