Turner Broadcasting System Inc., the Atlanta-based company controlled by Ted Turner, yesterday reported a loss for the second quarter that the company said was attributable to $18.2 million of expenses incurred in its unsuccessful bid to acquire CBS Inc.

TBS said it had a net loss in the quarter of $6.7 million (a loss of 31 cents a share) on revenue of $99.3 million versus a positive net income of $8.1 million (40 cents) on revenue of $78 million in the second quarter last year. For the first six months of the year, TBS reported a net loss of $7.4 million (a loss of 34 cents) on revenue of $166.7 million versus a positive net income of $2.8 million (14 cents) on revenue of $133 million in the same period last year.

TBS said its Cable News Network and CNN Headline News operations had an operating profit of $7.6 million in the first half of the year versus a loss of $8.9 million in the same period last year.

Operating income from its WTBS-Superstation declined from $32.4 million in the first six months last year to $28 million, largely because of the increased cost of obtaining sports programming, the company said.

Last week, TBS agreed to acquire MGM/UA Entertainment Co. for $1.5 billion, a deal that could expand the company's presence in the ownership and production of programming. The investment banking firm of Drexel Burnham Lambert Inc. is expected to say either today or tomorrow whether it will be able to arrange financing for the deal.