Contest related

are the questions given in the contest too hard for a beginner to solve?

Which contest?
Generally problem are organised in such a way that everyone can solve at-least first 2 questions.

june cook off

You should be able to look at the submissions that the first 5 problems in the contest were very easy, and a huge proportion of coders have successfully solved it.
Of course, they can’t give something like given 2 numbers a and b, multiply a and b, and output the result.
You will be able to solve harder problems with practice.