#include using namespace std; using ll=long long; #define all(v) v.begin(),v.end() #define rall(v) v.rbegin(),v.rend() template bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;} template bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;} void Solve(){ int N; ll T,X,Y; cin>>N>>T>>X>>Y; vectorD(N); for(int i=0;i>D[i]; sort(all(D)); int l=0; vectorV; while(l