#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; bool rcmp(int a, int b) { return a>b; } typedef long long LL; class mypcmp { public: bool operator()(const int& a, const int& b) { return a cs; for (i=0; i=k||n-i>=k) continue; if (as[i]==bs[i]) continue; if (k-(i+1)+k<=n) continue; if (k-(n-i)+k<=n) continue; break; } if(i