The fourth annual Urban Epic Triathlon drew more than 300 competitors Saturday for a race that started with a half-mile swim off East End Beach, then continued with a 13-mile bike ride through the heart of Portland and a 3.5-mile run that ended at the Maine State Pier.