Wilmer Flores' grand slam highlighted a six-run outburst in the third inning and the San Francisco Giants snapped a six-game losing streak with a 9-3 win over the Arizona Diamondbacks on Wednesday. Heliot Ramos added a two-run homer in the third off Jordan Montgomery (3-4), whose ERA rose to 6.80 in his ninth start since signing with the Diamondbacks late in spring training. Ramos reached base six times with two hits and four walks.