Editorial for DMOPC '15 Contest 7 P1 - Kemonomimi Competition
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
Knowledge required: arrays, conditionals, iteration, logic
Begin by determining , the latest submission time
of all
problems — the time that begins programming during the contest.
If a submission has already earned the full points, the associated problem is solved and does not need to be considered. Output
.
Otherwise, multiply the cuteness factor of the kemonomimi
, by the time needed
and add the time of awakening
.
If the total time elapsed since the start of the competition does not exceed hours
, output
, the remaining number of points to be earned.
Otherwise, the problem remains unsolved for the duration of the contest, so output The kemonomimi are too cute!
Time Complexity:
Comments