aboutsummaryrefslogtreecommitdiff
path: root/Template
diff options
context:
space:
mode:
authorAnthony Wang2020-08-15 16:49:54 -0500
committerAnthony Wang2020-08-15 16:49:54 -0500
commita08b943e2ef197c5e65845aebf96f09e4453b26c (patch)
tree504a9ff8324c59a922dbdbbd892183cc1059e87f /Template
parent6afc867d69183c8c5900b9fd1c5ec0ae6e83715a (diff)
Cleaned up template
Diffstat (limited to 'Template')
-rw-r--r--Template/usaco.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/Template/usaco.cpp b/Template/usaco.cpp
index eb86cb8..69e6721 100644
--- a/Template/usaco.cpp
+++ b/Template/usaco.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>;