From 2a4bfc1c8bdf3d9f826affb6f726c3696a79abc9 Mon Sep 17 00:00:00 2001 From: iagorrr Date: Wed, 7 Aug 2024 10:11:56 -0300 Subject: [PATCH] changes macro of size from sz() to len() --- settings-and-macros/macro.cpp | 53 +++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/settings-and-macros/macro.cpp b/settings-and-macros/macro.cpp index de24c3e8..45af84a3 100644 --- a/settings-and-macros/macro.cpp +++ b/settings-and-macros/macro.cpp @@ -15,39 +15,44 @@ using namespace std; #define int long long -#define All(a) a.begin(), a.end() -#define Rall(a) a.rbegin(), a.rend() -#define For(i, a, b) for (common_type_t i = a; i != b; (a < b) ? ++i : --i) -#define Sz(x) (int)x.size() -#define Pb push_back -#define Eb emplace_back - -using Ll = long long; -using Ull = unsigned long long; -using Ld = long double; -using Vll = vector; -using Pll = pair; -using Vll2d = vector; -using Vi = vector; -using Vi2d = vector; -using Pii = pair; -using Vii = vector; -using Vc = vector; +#define all(a) a.begin(), a.end() +#define rall(a) a.rbegin(), a.rend() +#define rep(i, a, b) for (common_type_t i = a; i != b; (a < b) ? ++i : --i) +#define len(x) (int)x.size() +#define pb push_back +#define eb emplace_back + +using ll = long long; +using ull = unsigned long long; +using ld = long double; +using vll = vector; +using pll = pair; +using vll2d = vector; +using vi = vector; +using vi2d = vector; +using pii = pair; +using vii = vector; +using vc = vector; int T = 1; auto run() { - } int32_t main() { #ifndef LOCAL - fastio; + fastio; #endif - // cin >> T; + // cin >> T; - for (int t = 1; t <= T; t++) { - run(); - } + rep(t, 0, T) { + dbg(t); + run(); + } } + + +/* + + */