CF1267E Elections
题目描述
有n(n
输入格式
第一行是两个整数,分别是n和m.
接下来m行n列,代表每个投票站对这n个人的票数。
输出格式
第一行一个整数k,代表需要去掉几个投票站。
第二行有k个数,代表投票站的号数,不要求字典序.
说明/提示
In the first example, the candidates from 1 to 5 received 14, 12, 13, 15, and 24 votes correspondingly. The opposition candidate has the most votes. However, if you cancel the election results at the first and the third polling stations, then only the result from the second polling station remains and the vote sums become 3, 7, 5, 6, and 7, without the opposition candidate being in the lead anymore.