diff options
author | Anthony Wang | 2020-08-15 16:50:42 -0500 |
---|---|---|
committer | Anthony Wang | 2020-08-15 16:50:42 -0500 |
commit | 6ecb2c72d6a5afde259cf8252b77ed1da742527b (patch) | |
tree | 89be8de9462f2f8c31643c3233c0b4510f1f98df /Template | |
parent | a08b943e2ef197c5e65845aebf96f09e4453b26c (diff) |
Cleaned up template
Diffstat (limited to 'Template')
-rw-r--r-- | Template/template.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Template/template.cpp b/Template/template.cpp index e70dc4f..e43a502 100644 --- a/Template/template.cpp +++ b/Template/template.cpp @@ -2,21 +2,17 @@ #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> #include <ext/rope> -#define F(i, a, b, in) for (int i = (a); i < (b); i += in) -#define R(i, a, b) for (int i = (a); i < (b); i++) -#define RF(i, a, b, in) for (int i = (a) - 1; i >= (b); i -= in) -#define RR(i, a, b) for (int i = (a) - 1; i >= (b); i--) -#define tr(a, x) for (auto& a : x) +#define f first +#define s second #define mp make_pair #define pb push_back #define eb emplace_back -#define f first -#define s second #define lb lower_bound #define ub upper_bound +#define rsz resize #define sz(x) (int)x.size() #define all(x) begin(x), end(x) -#define rsz resize +#define tr(a, x) for (auto& a : x) #define mem(a, b) memset(a, (b), sizeof(a)) using namespace std; using namespace __gnu_pbds; using namespace __gnu_cxx; using str = string; using ll = long long; using ld = long double; using cd = complex<ld>; |