Was told to assume all expenses, repairs, and supplies had been paid for... and that there were no casualties to account for.
The first half of the gold... divide it evenly among the pirates. This way everyone is guaranteed an equitable base cut of the booty.
The second half of the gold... have all the pirates line up in order of how long they've been on the ship... each can then carve out as much gold as they want from the pile when it's their turn to do so. If the crew agrees (51%+ vote) with the amount taken -- cool, that's what that person gets. If the crew disagrees, then it's off to Davy Jone's Locker for the greedy pirate.
I didn't get the job.