P3007 [USACO11JAN] The Continental Cowngress G

题目描述

Displeased with Farmer John's leadership, the cows have seceded from the farm and have formed the first Continental Cowngress. Built on the principle of 'every cow gets something they want,' they've decided on the following voting system: The M (1

输入格式

输出格式