Consumption by slope and gradient

Hello municipality, I have a question about fuel consumption: Suppose I drive exactly 10 KM with exactly 100 KM/h a 5 percent gradient up and then exactly 10 KM with exactly 100 KM/h a 5 percent gradient down. Is the consumption equal / higher or lower than if I drive exactly 20 KM with exactly 100 KM/h on absolutely flat road?