MIAMI -- San Francisco Giants manager Bruce Bochy said several of his players asked him the same question following Friday night's three hour, 43-minute game.
"Did we win?" the players said sarcastically.
The answer is yes. The Giants batted around twice in the first four innings, outscoring the Miami Marlins, 14-10, at Marlins Park.
But it was far from a work of art.
Giants' starter Chad Gaudin, given 12 runs of support while he was on the mound, lasted just four innings, allowing a career-high 11 hits, four walks and eight runs. Gaudin, a big-leaguer since 2003, tied his previous high in runs allowed.
But Marlins' starter Nate Eovaldi was even worse. He lasted just three-plus innings, his shortest outing since Aug. 24, 2012. Eovaldi (2-3) allowed 12 hits and 11 runs, both career highs.
"It was crazy," Marlins manager Mike Redmond said. "For us to score 10 runs and lose that game is kind of hard to believe. We hadn't had a game like that all year."
The win went to reliever Sandy Rosario (3-0), who pitched two innings of scoreless relief one day after getting hit in the chest by a come-backer against Washington.
"That was huge," Bochy said of Rosario's effort on Friday. "We needed somebody to stop it."
The high-scoring game was especially odd since the Giants and Marlins are the two lowest-scoring teams in the National League. Yet they combined to produce 24 runs and 35 hits.
Pablo Sandoval led the way with a perfect night. He went 4-for-4 with two walks and three RBIs for San Francisco.
"It was exciting," said Sandoval, who raised his batting average to .262. "I know everything is going to get better and better because I've been working hard. I just need to be consistent."
Other Giants hitting stars on Friday were Hunter Pence, who went 3-for-6 with five RBIs; Brandon Belt, who went 4-for-6 and was a homer short of the cycle; and Hector Sanchez, who blasted a three-run homer for the second straight game.
The Giants, who set their season highs in runs scored and hits, are trying to reverse a couple of negative trends. Since May 14, they are 31-52, the worst record in the NL in that span.
San Francisco also lost three of four to the visiting Marlins in June. Even with Friday's win, the Giants are just 6-12 against the Marlins since 2012.
The Giants, leading 12-9 at the time, padded their advantage with a two-run seventh inning, highlighted by Pence's run-scoring triple.
The Marlins' Justin Ruggiano closed the scoring with a homer in the ninth, his second solo shot of the game.
The Giants led off the game with three straight singles before an error by Marlins' shortstop Adeiny Hechavarria led to a pair of runs. Sandoval's two-run double gave the Giants a 4-0 lead after the first half-inning.
Another Marlins' error -- this time a backhanded fielding attempt by first baseman Logan Morrison that came up empty -- contributed to the Giants' three-run second inning. Pence cashed in with a two-run double and Sandoval added a run-scoring single.
Eovaldi's one-out single in the third ignited a Marlins' four-run third inning. Morrison's two-run double was the big blow, and Donovan Solano and Placido Polanco added run-scoring singles.
Sanchez, the Giants' backup catcher, hit a three-run homer to spark San Francisco's four-run fourth. It was Sanchez's second homer of the season and his second in four at-bats. Sanchez has nine RBIs for the year, six coming in that span of four at-bats.
The Giants' barrage of runs was such that Redmond said he thought Eovaldi might have been tipping his pitches.
"I looked at the video, and I didn't see anything like I was tipping my pitches," said Eovaldi, dismissing that notion. "This is the worst I've ever gotten hit. Just try and forget it. Hopefully this won't happen a lot."
The Marlins closed the deficit to 12-5 when Ruggiano hit a solo homer in the fourth. It was his 13th homer of the season and his first since July 3.
Miami got six straight hits to start the fifth inning, producing four runs. Ruggiano hit a two-run double, and Christian Yelich and Solano added run-scoring singles to make the score 12-9.
NOTES: There was a scary scene in the eighth inning, when Polanco was hit in the batting helmet by a Santiago Casilla fastball. Polanco stayed down for a couple of minutes before being removed from the game. Redmond said Polanco was "fine" after getting hit in the back of the head and did not show signs of a concussion. ... The Marlins on Friday called up 26-year-old RHP Arquimedes Caminero, who has spent eight years in the minors. The 6-foot-4, 255-pound Dominican had Tommy John surgery in 2011 but is back throwing between 96 and 100 mph and will be used out of the bullpen. He was 5-2 with a 3.61 ERA in Double-A Jacksonville this year and made his big-league debut Friday with one scoreless inning. ... Giants OF Angel Pagan, out since late June due to a hamstring injury, was set to play in his first rehab game Friday night in Arizona. The Giants hope he can return to them by Sept. 1.