The price for crude oil hit $100 a barrel on Wednesday for the first time since July, pushing gas and diesel prices higher.