Editorial for CCC '23 J1 - Deliv-e-droid


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.

A small calculation involving the input values is needed to calculate the number of points gained based on the number of packages delivered and the number of points lost based on the number of collisions with obstacles. An if statement is also needed to possibly apply bonus points.


Comments

There are no comments at the moment.