in the olympiads, there are 5 hours for three of these questions. And in this contest there are 5 questions and 2 hours...
Winner gets an apple divided by with my hands..
You may look internet for data structure codes or you may copy your old codes. But do not search for the same problems.