fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. const int N=1e5+7;
  5. using i64 = long long;
  6. using ui64 = unsigned long long;
  7. int a[N];
  8. #define MASK(x) ((i64)(1) << (x))
  9. #define BIT(mask , x) (((mask) >> (x)) & (1))
  10. #define sz(x) (x).size()
  11. #define all(x) (x).begin() , (x).end()
  12. #define srt(x) sort(all(x))
  13.  
  14. #define vii vector<int,int>
  15. #define vi vector<int>
  16. #define pb push_back
  17. #define ins insert
  18.  
  19. #define FOR(i ,a , b) for (int i = (a); i <= (b); ++i)
  20. #define FORD(i , a , b) for (int i = (b); i >= (a); --i)
  21. #define REP(i , a , b) for (int i = (a); i < (b); ++i)
  22. #define REPD(i , a , b) for (int i = (b) - 1 ; i >= (a); --i)
  23.  
  24. #define seea(x,a) FOR(i,1,x) cin>>a[i]
  25. #define seev(x,a) FOR(i,1,x){int v; cin>>v; a.pb(v);}
  26. #define sees(x,s) FOR(i,1,x){int v; cin>>v; s.ins(v);}
  27.  
  28. template <class T>
  29. void compress(vector<T> &a)
  30. {
  31. sort(a.begin() , a.end());
  32. a.resize(unique(a.begin() , a.end()) - a.begin());
  33. return;
  34. }
  35. template<class T>
  36. void printArr(T& container , string separator = "" , string finish = "\n")
  37. {
  38. for (auto& item : container) cout << item << separator;
  39. cout << finish;
  40. }
  41.  
  42. template<class T>
  43. bool maximize(T &a , T b) {if (a < b) return a = b , true; else return false;}
  44. template<class T>
  45. bool minimize(T &a , T b) {if (a > b) return a = b , true; else return false;}
  46. template<class T>
  47. T gcd(T x , T y) {while (y) swap(y , x %= y); return x;}
  48. template<class T>
  49. T lcm(T x , T y) {return (x * y) / gcd(x , y);}
  50.  
  51. void INPUT(string name)
  52. {
  53. iostream::sync_with_stdio(0);
  54. cin.tie(0); cout.tie(0);
  55. if(!fopen((name + ".inp").c_str() , "r")) return;
  56. freopen((name + ".inp").c_str() , "r" , stdin);
  57. freopen((name + ".out").c_str() , "w+" , stdout);
  58. }
  59. void solve(){
  60.  
  61. }
  62. int32_t main()
  63. {
  64. INPUT("");
  65. int test=1;//cin>>test;
  66. while(test--)
  67. solve();
  68. return 0;
  69. }
  70.  
  71. //CR7GOAT-FAKERGOAT
  72. //GLORY FOR T1 (5 STARS*)
  73. //editor:KNS-Samtd
  74.  
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
Standard output is empty