News for hackers. Stuff that matters.
Re:Hello, World by sdab on Sunday May 17, 2015 @10:17PM (#9562604)
Yep, its a nice problem. Reformulating it such that there are two possibilites (the coins are either different or the same) rather than four (permutations of two coins) is the way to solve the problem.

I was going to post a hint rather than the solution, but you beat me to the punch.

Re:Hello, World by placeybordeaux on Sunday May 17, 2015 @10:44PM (#9562666)
I liked showing the four possibilities and thinking about it in the way that one of them has to be responsible for winning in each case.
Re:Hello, World by SMackinnon on Sunday May 17, 2015 @10:19PM (#9562610)
Yeah, added a little spoiler tag.