Advertisement
welleyth

Default Template

Sep 3rd, 2020
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.97 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. #define int long long
  6. #define mp make_pair
  7. #define pb push_back
  8. #define ALL(A) A.begin(),A.end()
  9. #define FOR(i,a,b) for(int i=(a);i<(b);i++)
  10. #define RFOR(i,a,b) for(int i=(a);i>=(b);i--)
  11. #define SZ(A) A.size()
  12.  
  13. typedef vector<int> VI;
  14. typedef vector<pair<int,int> > VII;
  15. typedef pair<int,int> pii;
  16. typedef pair<int,pair<int,int> > pip;
  17. typedef pair<pair<int,int>,pair<int,int> > ppp;
  18. typedef pair<pair<int,int>,int> ppi;
  19.  
  20. const long double PI=acos(-1);
  21. const int INF=(int)1e18;
  22. const int MOD=(int)1e9+7;
  23.  
  24. int gcd(int a,int b)
  25. {
  26.     if(b) return gcd(b,a%b);
  27.     return a;
  28. }
  29.  
  30. void rec();
  31.  
  32. bool isPalindrom(int i,int j)
  33. {
  34.     for(;i<j;i++,j--)
  35.     {
  36.         if(v[i]!=v[j])
  37.             return false;
  38.     }
  39.     return true;
  40. }
  41.  
  42. signed main()
  43. {
  44.     ios::sync_with_stdio(0); cin.tie(nullptr); cout.tie(nullptr);
  45.     freopen("input.txt","r",stdin);
  46.     freopen("output.txt","w",stdout);
  47.  
  48.     return 0;
  49. }
  50.  
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement