Dear Student,
Answer to your question is given below:
Cycling uphill requires more energy than in plains because we are doing work while peddling the cycle in the opposite direction of the gravitational force. And for cycling upwards we require to overcome the gravitational force and hence it requires more enery than in plains.
Regards,