I can't see why the first is wrong, unless you also have some higher priority rules that say double bonds appear first in SMILES depictions. Have a look through daylight's pages, specifically http://www.daylight.com/daycgi/depict/
S
Of course, this assumes that the product
is 3-bromo-1-pentene. Are you sure that it is?