Fair paymentLogic Level 3
Alice, Bob, and Charlie are having a picnic. Alice has two loaves of bread, Bob has three loaves of bread, but Charlie doesn't have any. Instead, Charlie has $5. They agree to split the bread equally among the three of them, and Charlie can pay Alice and Bob the appropriate amount of money for the bread. How much should Charlie pay to Alice?
Clarification: Charlie pays all of his $5 to Alice and Bob; the problem is how to split it fairly.