Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: C++
Posted by: Kira 24
Added: Jun 20, 2019 7:03 AM
Views: 19
Tags: no tags
  1. #pragma GCC optimize("O3")
  2.  
  3. //(UNCOMMENT WHEN HAVING LOTS OF RECURSIONS)
  4. #pragma comment(linker, "/stack:200000000")
  5. //(UNCOMMENT WHEN TRYING TO BRUTEFORCE WITH A LOT OF LOOPS)
  6. #pragma GCC optimize("unroll-loops")
  7.  
  8. // -------------------</optimizations>--------------------)
  9. #include <bits/stdc++.h>
  10.  
  11.  
  12. using namespace std;
  13. #define IOS    cin.sync_with_stdio(0);cin.tie(0);cout.tie(0);
  14. #define rep(i, n)    for(int i = 1; i <= (n); ++i)
  15. #define repA(i, a, n)  for(int i = a; i <= (n); ++i)
  16. #define repD(i, a, n)  for(int i = a; i >= (n); --i)
  17. #define trav(a, x) for(auto& a : x)
  18. #define all(x) x.begin(), x.end()
  19. #define sz(x) (int)(x).size()
  20. #define fill(a)  memset(a, 0, sizeof (a))
  21. #define fst first
  22. #define snd second
  23. #define mp make_pair
  24. #define pb push_back
  25. #define cases int t;cin>>t;while(t--)
  26. typedef long double ld;
  27.  
  28. typedef pair<int, int> pii;
  29. //typedef vector<pii>vii;
  30. typedef vector<int> vi;
  31. typedef vector<long long> vll;
  32. #define ll long long
  33. #define inf LLONG_MAX
  34.  
  35. int main(){
  36.     IOS
  37. }