US retailer A&P has seen its third-quarter losses narrow as comparable store sales rose 3.1%.