#include using namespace std; using ll = long long; long double fraction2(ll p, ll q){ return (long double) p / (long double) q; } int main(){ ll N, M, x, x2; long double p2; cin >> N >> M; vector A(N), B(M+1); vector cnt2(N); for (int i=0; i> A[i]; for (int i=0; i> B[i]; priority_queue> que2; for (int i=0; i