http://poj.org/problem?id=3664 水题 #include <stdio.h> #include <map> using namespace std; map<pair<int, int>, int> map1; map<pair<int, int>, int>::iterator it; int main() { int n, k; int i, x, y, max1, flag1, temp; while…
<span style="color:#6600cc;">/* D - Election Time Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description The cows are having their first election after overthrowing the tyrannical Farmer John, an…