Tim Lincecum only lasted five innings and allowed all four Washington runs, but the Giants got on the board in the seventh, tied the game in the eighth and walked off in the 13th on Freddy Sanchez's knock.