URAL 1924 Four Imps (博弈论 + 规律)

The world is in danger. One famous swindler passed away recently (by the way, nobody knows his real name, so let’s call him Ostap). Having got to the hell he decided to make a deal with the Devil. More precisely, it was, actually, not a deal but a stake in a totalizator. The rules of the game are quite simple. Several imps divide into two teams— “black” and “grimy”. Then they go to the game field. Numbers from 1 tonare written on the field, and the teams do their turns one after another by putting down with black ink signs of + and between the numbers. When there is no two adjacent numbers without sign between them left, players calculate the result of obtained expression on the field. The goal of the “black” team is to make this result even, the goal of the “grimy” team is to make it odd. All four imps are experts in this game, therefore they always do optimal turns. “Black” team plays first.

,怎么能研究出炸药呢?爱迪生不经历上千次的来自失败,怎么能发明电灯呢?

URAL 1924 Four Imps (博弈论 + 规律)

相关文章:

你感兴趣的文章:

标签云: