******************************* *** The hack uses generator *** ******************************* ** Command line arguments ** no arguments ** Generated test ** 1000 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 20 21 2... ** Generator source ** #include using namespace std; //SET PRECIOSION cout << fixed ; cout << setprecision(n) << ans << endl; #define ll long long #define ld long double #define pair PAIR #define endl "\n" #define mod 1000000007 #define sz(v) ((int)(v).size()) #define all(v) (v).begin(), (v).end() #define pb push_back #define N 3000009 #define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL) ll SET(ll n, ll pos) { return n = n | (1 << pos ); } ll RESET(ll n, ll pos) { return n = n & ~(1< v; ll x,y,z,a,b,c,sum,ans,total,t,cnt,n,m,k,p,q,r,l,w,right,left,row,col,kase; string s1,s2; map mp; set s; map :: iterator itr1, ptr1; set :: iterator itr, ptr; ll arr[N] , arr1[N] , ind[N]; int main() { ///Peace be with you. FAST; cout<<1000<