L D[AR2P#0.0]
Lifetime Supporting Member
Another puzzle for you - answers by pm again.
Code:
You have 30 coins which you want to deposit in a bank 10km away.
A taxi takes you but can only carry a maximum of 10 coins at a time.
The taxi charges 1 coin/km going towards the bank, and nothing when returning.
You can leave coins at the side of the road without fear of them being taken.
What is the maximum number of coins you can deposit at the bank?