# How can I rate the question according to the difficulty?

I have a set of problems to analyze from a programming contest. My work is to rate the question according to its difficulty (easy,medium,hard) by analyzing the submission rate,accepted solutions rate and failed solutions rate of the participants. Do I need any more parameters to analyze the difficulty and which algorithm should I use?

Edit #1:

Rare Case

What if a problem with highest difficulty has no submissions at all? How can this case be evaluated?

Edit #2:

It is an online competitive programming contest like ACM ICPC. Questions are available to all the participants (all questions). They can start from any question. There will be 10-12 questions max. There is no submission limit for the questions. You can submit until your answer gets accepted.

• Can you tell us more about the contest? Do all participant see all the problems? Do we have the number of submissions per question per participant? – Cam.Davidson.Pilon Feb 20 '17 at 5:33
• @Cam.Davidson.Pilon Ok I will include those in my question. – PSN Feb 20 '17 at 12:54
• Do you only have the rates for each question or do you have the data for each contestant? If you have the data for each contestant such whether or not he scored on a question, then we could rate the difficulty such as the average total score of those whose solution were accepted. – Nikolas Rieble Feb 28 '17 at 16:34
• Please illustrate your data with a toy example. – Nikolas Rieble Feb 28 '17 at 16:35
• Are the questions presented in a random order or always in the same order? – jbowman Mar 2 '17 at 20:57