#include using namespace std; #define LL long long int int main () { int t; cin >> t; while (t--) { int n, k; cin >> n >> k; vectora(n); for (int i=0; i> a[i]; } sort(a.begin(), a.end()); a[0]-=k; LL product = 1; for (int i=0; i