#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int Q; cin >> Q; for(int i=0; i> D >> K; if(D == 0 && K == 1){cout << "Yes" << endl << 0 << " " << 0 << endl; continue;} if(D*4 < K){cout << "No" << endl; continue;} vector> dist; for(int k=0; k