Editorial for DMOPC '15 Contest 7 P3 - Harbourmaster

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.

Author: Xyene

Knowledge required: iteration

The problem is asking you to try every possible combination of \min(N, 5) crew members.

Time Complexity: \mathcal{O}(N^5)


There are no comments at the moment.