[UVA] 12414 - Calculating Yuan Fen
Problem C
Calculating Yuan Fen
Yuanfen is a
Chinese term that is hard to understand for people in other countries.
Roughly speaking, yuanfen means the pre-determined "binding force" that
links two people (usually two lovers) together. Although it is a blind
faith,...