Betting Confusion

Problem Name:
Betting Confusion
Site:CodeForces
Links:
Tags: