A time bomb planted on a parked bicycle exploded and ripped through a crowd of young men outside the military office , killing 12 of them and wounding 38 .