For the second time in these Olympics, an event spanning miles of distance and hours of time was ultimately decided in the blink of an eye.

The first was the women's triathlon, which came down to a true photo finish to determine Swiss athlete Nicola Spirig's victory. The second came Thursday, when the women's 10-kilometer open swimming marathon --a race that took three minutes shy of two hours to complete -- was decided by all of four tenths of a second.

The unlucky silver medalist was Team USA's Haley Anderson, who slapped the floating electronic board above the finish line just after Hungarian gold medalist Eva Risztov. Risztov's official time was 1:57:38.2, Anderson's 1:57:38.6.

A margin that narrow meant the race was officially deemed a photo finish, though Risztov's hand clearly slapped the boatd ahead of Anderson. Photos of the finish, via Business Insider and the international Olympics television feed, with Anderson in the white cap:

Anderson and Risztov come down the home stretch.
Risztov gets there first.

For Anderson, it won't be easy to stomach coming that close to a gold medal and coming just short. But the Santa Clara, Calif. native will be able to console herself that she wasn't expected to medal at all--and that if you've come that close to gold after two hours of swimming, it's fair to say you've had yourself one heck of a race.