#include<bits/stdc++.h> using namespace std; using ll=long long; using ull=unsigned long long; using i128=__int128_t; using u128=__uint128_t; using ld=long double; struct node { int num; int cop=0; }; bool cmp(node x,node y) { return x.cop>y.cop; } void solve() { int n,m,k,l,d,x,y,p,q;//很简单...