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.

problems are arranged from easy to medium to hard level (which depends on total no. of submission)

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.