Skip to content

Commit

Permalink
changes macro of size from sz() to len()
Browse files Browse the repository at this point in the history
  • Loading branch information
iagorrr committed Aug 7, 2024
1 parent 7c72d6e commit 2a4bfc1
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions settings-and-macros/macro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<decltype(a), decltype(b)> 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<ll>;
using Pll = pair<ll, ll>;
using Vll2d = vector<vll>;
using Vi = vector<int>;
using Vi2d = vector<vi>;
using Pii = pair<int, int>;
using Vii = vector<pii>;
using Vc = vector<char>;
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define rep(i, a, b) for (common_type_t<decltype(a), decltype(b)> 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<ll>;
using pll = pair<ll, ll>;
using vll2d = vector<vll>;
using vi = vector<int>;
using vi2d = vector<vi>;
using pii = pair<int, int>;
using vii = vector<pii>;
using vc = vector<char>;

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();
}
}


/*
*/

0 comments on commit 2a4bfc1

Please sign in to comment.