#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) typedef vector VI; typedef vector VVI; typedef vector VL; typedef vector VVL; typedef long long LL; #define all(a) (a).begin(), (a).end() #define Yes(n) cout << ((n) ? "Yes" : "No" ) << endl #define YES(n) cout << ((n) ? "YES" : "NO" ) << endl #define ALL(a) (a).begin(),(a).end() #define pb push_back void las(LL p,LL q){ LL x=p+q; x/=2; cout<=0){ if(b<=0){ //las(x+y-b*n,x-y+b*n);return; cout<=n){cout<=n){cout<>n>>x>>y>>a>>b; f(n,x,y,a,b,0); } int main() {std::ios_base::sync_with_stdio(false); std::cin.tie(NULL); int t;cin>>t; rep(i,t){sol();} }