×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: C++
Posted by: XYZ ABC
Added: Dec 15, 2022 7:02 AM
Modified: Dec 15, 2022 9:12 AM
Views: 0
Tags: no tags
  1. #include <bits/stdc++.h>
  2. #include <ext/pb_ds/assoc_container.hpp>
  3.  
  4. #define init(arr,val) memset(arr,val,sizeof(arr))
  5. #define loop(i,a,b) for(int i=a;i<b;i++)
  6. #define loopr(i,a,b) for(int i=a;i>=b;i--)
  7. #define loops(i,a,b,step) for(int i=a;i<b;i+=step)
  8. #define looprs(i,a,b,step) for(int i=a;i>=b;i-=step)
  9. #define loopvec(v1) for(auto x: v1)
  10. #define ull unsigned long long int
  11. #define ll long long int
  12. #define P pair
  13. #define PLL pair<long long, long long>
  14. #define PII pair<int, int>
  15. #define PUU pair<unsigned long long int, unsigned long long int>
  16. #define L list
  17. #define V vector
  18. #define D deque
  19. #define ST set
  20. #define MS multiset
  21. #define M map
  22. #define UM unordered_map
  23. #define mp make_pair
  24. #define pb push_back
  25. #define pf push_front
  26. #define MM multimap
  27. #define F first
  28. #define S second
  29. #define FAST ios_base::sync_with_stdio(false);cin.tie();cout.tie();
  30. #define FILE_READ_IN freopen("input.txt","r",stdin);
  31. #define FILE_READ_OUT freopen("output.txt","w",stdout);
  32. #define all(a) a.begin(),a.end()
  33. #define ld long double
  34. #define ALL(v) v.begin(), v.end()
  35. #define ALLA(arr, sz) arr, arr + sz
  36. #define SIZE(v) (int)v.size()
  37. #define SORT(v) sort(ALL(v))
  38. #define REVERSE(v) reverse(ALL(v))
  39. #define SORTA(arr, sz) sort(ALLA(arr, sz))
  40. #define REVERSEA(arr, sz) reverse(ALLA(arr, sz))
  41. #define PERMUTE next_permutation
  42. #define DEBUG_VEC(v) for (auto x: v){std::cout<<x<<' ';}
  43.  
  44. const int MAX_N = 1e5 + 5;
  45. const ll MOD = 1e9 + 7;
  46. const ll INF = 1e9;
  47. const ld EPS = 1e-9;
  48. const ll maxn = 1e5;
  49. const ll inf = 1e9;
  50. const double pi = acos(-1);
  51.  
  52. using namespace std;
  53. using namespace __gnu_pbds;
  54.  
  55. int main() {
  56.  
  57. }
  58.