#define _GLIBCXX_DEBUG #include #include #include using namespace atcoder; using namespace std; typedef long long ll; typedef pair pi; #define ALL(x) x.begin(),x.end() #define rep(i,a,b) for(int i=a;i; using vvi = vector; using li =vector; using lli=vector
  • ; using si =vector; using ssi =vector; const long long INF = 1e18; const long long MOD=1e9+7; //for (auto [key, val] : mp) int main() { int t;cin>>t; while(t--){ int a,b;cin>>a>>b; if(2*a>b)cout<<-1<