Johnny Cueto pitched effectively into the seventh inning, Alex Dickerson homered and had two RBIs, and the San Francisco Giants won their first road series by beating the Arizona Diamondbacks 4-1 on Sunday. Cueto was sharp in his last start before the trade deadline, allowing a run on three hits in 6 2/3 innings. ''I like to invent during the game,'' Cueto said through a translator.