Toph penalty scoring method

Can anyone please explain the penalty scoring methode in toph…

The mock contest that you just participated in was run in ACM-ICPC format.

In this format, the penalty is calculated as follows:

The time consumed for a solved problem is the time elapsed from the beginning of the contest to the submittal of the first accepted run plus 20 penalty minutes for every previously rejected run for that problem.

So, if you have solved a problem X minutes after the start of the contest and you have solved it in your first try, your time penalty will be X. If you solved it on your second try, your time penalty will be X+20. If you solved it on your third try, your time penalty will be X+40. And, so on.