Guest User

Untitled

a guest
May 11th, 2020
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1.  
  2. #include <bits/stdc++.h>
  3. #include <ext/pb_ds/tree_policy.hpp>
  4. #include <ext/pb_ds/assoc_container.hpp>
  5.  
  6. using namespace std;
  7. using namespace __gnu_pbds;
  8.  
  9. typedef long long ll;
  10. typedef long double ld;
  11. typedef complex<ld> cd;
  12.  
  13. typedef pair<int, int> pi;
  14. typedef pair<ll,ll> pl;
  15. typedef pair<ld,ld> pd;
  16.  
  17. typedef vector<int> vi;
  18. typedef vector<ld> vd;
  19. typedef vector<ll> vl;
  20. typedef vector<pi> vpi;
  21. typedef vector<pl> vpl;
  22. typedef vector<cd> vcd;
  23.  
  24. template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;
  25.  
  26. #define FOR(i, a, b) for (int i=a; i<(b); i++)
  27. #define F0R(i, a) for (int i=0; i<(a); i++)
  28. #define FORd(i,a,b) for (int i = (b)-1; i >= a; i--)
  29. #define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--)
  30.  
  31. #define sz(x) (int)(x).size()
  32. #define mp make_pair
  33. #define pb push_back
  34. #define f first
  35. #define s second
  36. #define lb lower_bound
  37. #define ub upper_bound
  38. #define all(x) x.begin(), x.end()
  39. #define ins insert
  40.  
  41. mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
  42.  
  43. const int MOD = 1000000007;
  44. const ll INF = 1e18;
  45. const int MX = 100001; //check the limits, dummy
  46.  
  47. int main() {
  48. ios_base::sync_with_stdio(0); cin.tie(0);
  49.  
  50. //int T; cin >> T;
  51. //while(T--)
  52. //{
  53. //
  54. // }
  55.  
  56. return 0;
  57. }
  58. // read the question correctly (ll vs int)
  59. // template by bqi343
Add Comment
Please, Sign In to add comment