#include <algorithm> #include <iostream> #include "bits/stdc++.h" using ll = long long; using namespace std; const int maxn = 2e5+10; ll nums[maxn]; int main() { int t; scanf("%d",&t); while(t--){ ll n,l,r; scanf("%lld%lld%lld",&n,&l,&r); ll ...