Codeforces Tricky Sum
//Next Codeforces Round #354 (Div. 2) #include<bits/stdc++.h> //#include<cstdio> //#include<iostream> //#include<algorithm> //#include<vector> //#include<cstring> //#include<cmath> //#include<map> using namespace std; #define fast ios_base::sync_with_stdio(false) #define bfast cin.tie(0) #define outs(x) cout << x << " " #define outn(x) cout << x << "\n" #define sf scanf #define pf printf #define nl puts("") #define psb push_back #define high 45 typedef long long LL; typedef vector<int>vii; typedef vector<LL>vll; struct my { LL p, psum; }; my ar[high]; void store() { int i=0; ar[0].p = 1; ar[0].psum = -1; for(i=1; i<35; i++) { ar[i].p = powl(2 , i); ar[i].psum = ar[i-1].psum - ar[i].p; ...