diff --git a/codeforces/1016/.clang-format b/codeforces/1016/.clang-format new file mode 100644 index 0000000..e7350c4 --- /dev/null +++ b/codeforces/1016/.clang-format @@ -0,0 +1,9 @@ +BasedOnStyle: Google +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortCompoundRequirementOnASingleLine: false +AllowShortEnumsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLambdasOnASingleLine: false +AllowShortLoopsOnASingleLine: false diff --git a/codeforces/1016/.clangd b/codeforces/1016/.clangd new file mode 100644 index 0000000..d1d0413 --- /dev/null +++ b/codeforces/1016/.clangd @@ -0,0 +1,23 @@ +CompileFlags: + Add: + - -Wall + - -Wextra + - -Wshadow + - -Wnon-virtual-dtor + - -Wold-style-cast + - -Wcast-align + - -Wunused + - -Woverloaded-virtual + - -Wpedantic + - -Wmisleading-indentation + - -Wduplicated-cond + - -Wduplicated-branches + - -Wlogical-op + - -Wnull-dereference + - -Wuseless-cast + - -Wformat=2 + - -Wformat-overflow + - -Wformat-truncation + - -Wdouble-promotion + - -DLOCAL + - -Wno-unknown-pragmas \ No newline at end of file diff --git a/codeforces/1016/a.cc b/codeforces/1016/a.cc new file mode 100644 index 0000000..a6aafbf --- /dev/null +++ b/codeforces/1016/a.cc @@ -0,0 +1,88 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template [[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template [[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template [[nodiscard]] static T sc(auto &&x) { + return static_cast(x); +} + +template [[nodiscard]] static T sz(auto &&x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { prln("NO"); } + +inline static void YES() { prln("YES"); } + +using ll = long long; +using ld = long double; +template using ve = std::vector; +template using ar = std::array; +template using pa = std::pair; +template using tu = std::tuple; +template using dq = std::deque; +template using qu = std::queue; +template using pq = std::priority_queue; +template using st = std::stack; +auto lb = [](auto... args) { return std::lower_bound(args...); }; +auto ub = [](auto... args) { return std::upper_bound(args...); }; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n; + cin >> n; + // can i make ANY number >= k with palindromic array of length k? + // k = 3 -> [???] + + if (n & 1) { + YES(); + } else { + NO(); + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/1016/a.in b/codeforces/1016/a.in new file mode 100644 index 0000000..0b382a7 --- /dev/null +++ b/codeforces/1016/a.in @@ -0,0 +1,6 @@ +5 +1 +2 +3 +73 +1000 diff --git a/codeforces/1016/b.cc b/codeforces/1016/b.cc new file mode 100644 index 0000000..7fecebe --- /dev/null +++ b/codeforces/1016/b.cc @@ -0,0 +1,116 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + string s; + cin >> s; + int last_digit = -1; + int zeroes_after = 0; + for (int i = 0; i < sz(s); ++i) { + if (s[i] != '0') { + last_digit = i; + zeroes_after = 0; + } else { + ++zeroes_after; + } + } + ll ans = zeroes_after; + for (int i = 0; i < last_digit; ++i) { + if (s[i] != '0') + ++ans; + } + prln("{}", ans); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/1016/b.in b/codeforces/1016/b.in new file mode 100644 index 0000000..2875b82 --- /dev/null +++ b/codeforces/1016/b.in @@ -0,0 +1,5 @@ +4 +666 +13700 +102030 +7 diff --git a/codeforces/1016/c.cc b/codeforces/1016/c.cc new file mode 100644 index 0000000..e1dbb69 --- /dev/null +++ b/codeforces/1016/c.cc @@ -0,0 +1,132 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +vector get(ll x) { + vector factors; + for (ll i = 2; i * i <= x; ++i) { + while (x % i == 0) { + factors.push_back(i); + x /= i; + } + } + if (x > 1) + factors.push_back(x); + return factors; +} + +void solve() { + // factor x in sqrt time + // if x is prime and one time, false; otherwise, yes + + ll x; + int k; + cin >> x >> k; + + if (x == 1 && k == 1) { + NO(); + return; + } else if (x == 1 && k == 2) { + YES(); + return; + } + + auto factors = get(x); + if (factors.size() == 1 && k == 1) { + YES(); + } else { + NO(); + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/1016/c.in b/codeforces/1016/c.in new file mode 100644 index 0000000..85f57a3 --- /dev/null +++ b/codeforces/1016/c.in @@ -0,0 +1,2 @@ +1 +1 2 diff --git a/codeforces/1016/compile_flags.txt b/codeforces/1016/compile_flags.txt new file mode 100644 index 0000000..559f9a4 --- /dev/null +++ b/codeforces/1016/compile_flags.txt @@ -0,0 +1,21 @@ +-Wall +-Wextra +-Wshadow +-Wnon-virtual-dtor +-Wold-style-cast +-Wcast-align +-Wunused +-Woverloaded-virtual +-Wpedantic +-Wmisleading-indentation +-Wduplicated-cond +-Wduplicated-branches +-Wlogical-op +-Wnull-dereference +-Wuseless-cast +-Wformat=2 +-Wformat-overflow +-Wformat-truncation +-Wdouble-promotion +-DLOCAL +-std=c++23 diff --git a/codeforces/1016/d.cc b/codeforces/1016/d.cc new file mode 100644 index 0000000..9f61e2e --- /dev/null +++ b/codeforces/1016/d.cc @@ -0,0 +1,158 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + ll n; + int q; + cin >> n >> q; + + while (q--) { + char cmd; + cin >> cmd >> cmd; + if (cmd == '>') { + ll r, c; + cin >> r >> c; + ll result = 1; + ll N = 1LL << n; + + while (N > 1) { + ll half = N / 2; + ll quarter = (N * N) / 4; + + if (r <= half && c <= half) { + } else if (r > half && c > half) { + result += quarter; + r -= half; + c -= half; + } else if (r > half && c <= half) { + result += 2 * quarter; + r -= half; + } else { + result += 3 * quarter; + c -= half; + } + + N = half; + } + + prln("{}", result); + } else { + ll d; + cin >> d; + ll r = 1, c = 1; + ll N = 1LL << n; + + while (N > 1) { + ll half = N / 2; + ll quarter = (N * N) / 4; + // didn't translate d right + // construction: lb/ub error prone + wrong; + // think longer on impl + + if (d <= quarter) { + } else if (d <= 2 * quarter) { + r += half; + c += half; + d -= quarter; + } else if (d <= 3 * quarter) { + r += half; + d -= 2 * quarter; + } else { + c += half; + d -= 3 * quarter; + } + + N = half; + } + + prln("{} {}", r, c); + } + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/1016/d.in b/codeforces/1016/d.in new file mode 100644 index 0000000..f1359d9 --- /dev/null +++ b/codeforces/1016/d.in @@ -0,0 +1,18 @@ +2 +2 +5 +-> 4 3 +<- 15 +<- 4 +-> 3 1 +-> 1 3 +1 +8 +-> 1 1 +-> 1 2 +-> 2 1 +-> 2 2 +<- 1 +<- 2 +<- 3 +<- 4 diff --git a/codeforces/1016/e.cc b/codeforces/1016/e.cc new file mode 100644 index 0000000..2fd8745 --- /dev/null +++ b/codeforces/1016/e.cc @@ -0,0 +1,233 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto &&x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto &&x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::println(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) cout << __VA_ARGS__ << '\n' +#define dbg(...) cout << __VA_ARGS__ +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +#include +#include + +using namespace __gnu_pbds; + +// https://mirror.codeforces.com/blog/entry/124683 + +namespace hashing { +using i64 = std::int64_t; +using u64 = std::uint64_t; +static const u64 FIXED_RANDOM = + std::chrono::steady_clock::now().time_since_epoch().count(); + +#if USE_AES +std::mt19937 rd(FIXED_RANDOM); +const __m128i KEY1{(i64)rd(), (i64)rd()}; +const __m128i KEY2{(i64)rd(), (i64)rd()}; +#endif + +template +struct custom_hash {}; + +template +inline void hash_combine(u64 &seed, T const &v) { + custom_hash hasher; + seed ^= hasher(v) + 0x9e3779b97f4a7c15 + (seed << 12) + (seed >> 4); +}; + +template +struct custom_hash::value>::type> { + u64 operator()(T _x) const { + u64 x = _x; +#if USE_AES + __m128i m{i64(u64(x) * 0xbf58476d1ce4e5b9u64), (i64)FIXED_RANDOM}; + __m128i y = _mm_aesenc_si128(m, KEY1); + __m128i z = _mm_aesenc_si128(y, KEY2); + return z[0]; +#else + x += 0x9e3779b97f4a7c15 + FIXED_RANDOM; + x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9; + x = (x ^ (x >> 27)) * 0x94d049bb133111eb; + return x ^ (x >> 31); +#endif + } +}; + +template +struct custom_hash()))>> { + u64 operator()(T const &a) const { + u64 value = FIXED_RANDOM; + for (auto &x : a) + hash_combine(value, x); + return value; + } +}; + +template +struct custom_hash> { + u64 operator()(const std::tuple &a) const { + u64 value = FIXED_RANDOM; + std::apply( + [&value](T const &...args) { + (hash_combine(value, args), ...); + }, + a); + return value; + } +}; + +template +struct custom_hash> { + u64 operator()(std::pair const &a) const { + u64 value = FIXED_RANDOM; + hash_combine(value, a.first); + hash_combine(value, a.second); + return value; + } +}; +}; // namespace hashing + +#ifdef PB_DS_ASSOC_CNTNR_HPP +template +using hashtable = gp_hash_table< + Key, Value, hashing::custom_hash, std::equal_to, + direct_mask_range_hashing<>, linear_probe_fn<>, + hash_standard_resize_policy, + hash_load_check_resize_trigger<>, true>>; + +#endif +#ifdef PB_DS_TREE_POLICY_HPP +template +using multitree = tree, rb_tree_tag, + tree_order_statistics_node_update>; +template +using rbtree = tree, rb_tree_tag, + tree_order_statistics_node_update>; +#endif + +void solve() { + ll n, k; + cin >> n >> k; + ve a(n); + for (auto &e : a) + cin >> e; + + auto can = [&](ll x) { + int groups = 0; + hashtable seen; + for (int i = 0; i < n; ++i) { + if (a[i] < x) { + seen.insert(a[i]); + } + if (sz(seen) == x) { + ++groups; + seen.clear(); + } + } + + // NOTE: did == k instead of >= (can extend any mex array if has mex of x) + // also, fucked up binary search with a[i] > x (WRONG, can still form mex, doesn't negate) + return groups >= k; + }; + + ll l = 0, r = n; + while (l <= r) { + ll m = l + (r - l) / 2; + + if (can(m)) { + l = m + 1; + } else { + r = m - 1; + } + } + + prln("{}", r); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/1016/e.in b/codeforces/1016/e.in new file mode 100644 index 0000000..02a5638 --- /dev/null +++ b/codeforces/1016/e.in @@ -0,0 +1,15 @@ +7 +1 1 +0 +5 1 +0 1 3 2 4 +6 2 +2 1 0 0 1 2 +5 5 +0 0 0 0 0 +5 2 +2 3 4 5 6 +6 2 +0 0 1 1 2 2 +4 4 +1 0 0 0 diff --git a/codeforces/1016/f.cc b/codeforces/1016/f.cc new file mode 100644 index 0000000..a290c9b --- /dev/null +++ b/codeforces/1016/f.cc @@ -0,0 +1,101 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +const int MAX_INT = INT_MAX; + +void solve() { + +} + +int main() { // {{{ + ; + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/1016/f.debug-f.su b/codeforces/1016/f.debug-f.su new file mode 100644 index 0000000..0fe48cd --- /dev/null +++ b/codeforces/1016/f.debug-f.su @@ -0,0 +1,587 @@ +/usr/include/c++/14.2.1/type_traits:3832:3:constexpr bool std::is_constant_evaluated() 16 static +/usr/include/c++/14.2.1/compare:282:5:constexpr bool std::operator==(strong_ordering, __cmp_cat::__unspec) 144 static +/usr/include/c++/14.2.1/compare:291:5:constexpr bool std::operator<(strong_ordering, __cmp_cat::__unspec) 144 static +/usr/include/c++/14.2.1/new:179:33:void* operator new(std::size_t, void*) 16 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:74:3:constexpr __gnu_cxx::__ops::_Iter_less_val __gnu_cxx::__ops::__iter_less_val() 16 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:103:3:constexpr __gnu_cxx::__ops::_Val_less_iter __gnu_cxx::__ops::__val_less_iter() 16 static +/usr/include/c++/14.2.1/bits/char_traits.h:343:7:static constexpr void std::char_traits::assign(char_type&, const char_type&) 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:354:7:static constexpr bool std::char_traits::eq(const char_type&, const char_type&) 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:358:7:static constexpr bool std::char_traits::lt(const char_type&, const char_type&) 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:366:7:static constexpr int std::char_traits::compare(const char_type*, const char_type*, std::size_t) 80 static +/usr/include/c++/14.2.1/bits/char_traits.h:385:7:static constexpr std::size_t std::char_traits::length(const char_type*) 32 static +/usr/include/c++/14.2.1/bits/char_traits.h:395:7:static constexpr const std::char_traits::char_type* std::char_traits::find(const char_type*, std::size_t, const char_type&) 64 static +/usr/include/c++/14.2.1/bits/char_traits.h:407:7:static constexpr std::char_traits::char_type* std::char_traits::move(char_type*, const char_type*, std::size_t) 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:419:7:static constexpr std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t) 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:431:7:static constexpr std::char_traits::char_type* std::char_traits::assign(char_type*, std::size_t, char_type) 64 static +/usr/include/c++/14.2.1/string_view:70:3:constexpr std::size_t std::__sv_check(size_t, size_t, const char*) 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:232:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/ptr_traits.h:134:7:static constexpr _Tp* std::__ptr_traits_ptr_to<_Tp*, _Tp, false>::pointer_to(element_type&) [with _Tp = char] 32 static +/usr/include/c++/14.2.1/bits/move.h:175:5:constexpr _Tp* std::addressof(_Tp&) [with _Tp = char] 32 static +/usr/include/c++/14.2.1/bits/move.h:51:5:constexpr _Tp* std::__addressof(_Tp&) [with _Tp = char] 16 static +/usr/include/c++/14.2.1/bits/basic_string.h:197:2:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_Alloc_hider::_Alloc_hider(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer, _Alloc&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 96 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = allocator&] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:186:14:constexpr std::__cxx11::basic_string::_Alloc_hider::~_Alloc_hider() 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:527:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/bits/charconv.h:55:5:constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = unsigned int] 80 static +/usr/include/c++/14.2.1/bits/charconv.h:55:5:constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = long unsigned int] 80 static +/usr/include/c++/14.2.1/bits/charconv.h:55:5:constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = long long unsigned int] 80 static +/usr/include/c++/14.2.1/bits/stl_algobase.h:233:5:constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = long unsigned int] 48 static +/usr/include/c++/14.2.1/limits:1065:7:static constexpr int std::numeric_limits::min() 16 static +/usr/include/c++/14.2.1/limits:1068:7:static constexpr int std::numeric_limits::max() 16 static +/usr/include/c++/14.2.1/charconv:368:1:constexpr std::to_chars_result std::to_chars(char*, char*, long unsigned int, int) 48 static +/usr/include/c++/14.2.1/bit:371:5:constexpr int std::__bit_width(_Tp) [with _Tp = unsigned int] 64 static +/usr/include/c++/14.2.1/bits/basic_string.h:1076:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/span:88:2:constexpr std::__detail::__extent_storage<18446744073709551615>::__extent_storage(std::size_t) 32 static +/usr/include/c++/14.2.1/span:93:2:constexpr std::size_t std::__detail::__extent_storage<18446744073709551615>::_M_extent() const 32 static +/usr/include/c++/14.2.1/bits/unicode.h:51:3:constexpr bool std::__unicode::__is_scalar_value(char32_t) 16 static +/usr/include/c++/14.2.1/bits/unicode.h:75:5:constexpr char32_t std::__unicode::_Repl::operator()() const 16 static +/usr/include/c++/14.2.1/bits/unicode.h:603:3:constexpr int std::__unicode::__v15_1_0::__field_width(char32_t) 176 static +/usr/include/c++/14.2.1/bits/unicode.h:614:3:constexpr std::__unicode::__v15_1_0::_Gcb_property std::__unicode::__v15_1_0::__grapheme_cluster_break_property(char32_t) 208 static +/usr/include/c++/14.2.1/bits/unicode.h:624:3:constexpr bool std::__unicode::__v15_1_0::__is_incb_linker(char32_t) 176 static +/usr/include/c++/14.2.1/bits/unicode.h:633:3:constexpr std::__unicode::__v15_1_0::_InCB std::__unicode::__v15_1_0::__incb_property(char32_t) 208 static +/usr/include/c++/14.2.1/bits/unicode.h:645:3:constexpr bool std::__unicode::__v15_1_0::__is_extended_pictographic(char32_t) 176 static +/usr/include/c++/14.2.1/bits/unicode.h:664:5:constexpr void std::__unicode::__v15_1_0::_Grapheme_cluster_iterator_base::_M_reset(char32_t, std::__unicode::__v15_1_0::_Gcb_property) 32 static +/usr/include/c++/14.2.1/bits/unicode.h:674:5:constexpr void std::__unicode::__v15_1_0::_Grapheme_cluster_iterator_base::_M_update_xpicto_seq_state(char32_t, std::__unicode::__v15_1_0::_Gcb_property) 48 static +/usr/include/c++/14.2.1/bits/unicode.h:706:5:constexpr void std::__unicode::__v15_1_0::_Grapheme_cluster_iterator_base::_M_update_ri_count(std::__unicode::__v15_1_0::_Gcb_property) 48 static +/usr/include/c++/14.2.1/bits/unicode.h:715:5:constexpr void std::__unicode::__v15_1_0::_Grapheme_cluster_iterator_base::_M_update_incb_state(char32_t, std::__unicode::__v15_1_0::_Gcb_property) 32 static +/usr/include/c++/14.2.1/charconv:448:5:constexpr unsigned char std::__detail::__from_chars_alnum_to_val(unsigned char) [with bool _DecOnly = false] 48 static +/usr/include/c++/14.2.1/format:188:14:std::format_error::format_error(const char*) 48 static +/usr/include/c++/14.2.1/format:184:9:std::format_error::~format_error() 48 static +/usr/include/c++/14.2.1/format:184:9:virtual std::format_error::~format_error() 32 static +/usr/include/c++/14.2.1/format:194:3:void std::__throw_format_error(const char*) 48 static +/usr/include/c++/14.2.1/format:203:3:void std::__format::__unmatched_left_brace_in_format_string() 16 static +/usr/include/c++/14.2.1/format:208:3:void std::__format::__unmatched_right_brace_in_format_string() 16 static +/usr/include/c++/14.2.1/format:213:3:void std::__format::__conflicting_indexing_in_format_string() 16 static +/usr/include/c++/14.2.1/format:218:3:void std::__format::__invalid_arg_id_in_format_string() 16 static +/usr/include/c++/14.2.1/format:223:3:void std::__format::__failed_to_parse_format_spec() 16 static +/usr/include/c++/14.2.1/format:392:18:constexpr bool std::__format::__is_digit(char) 32 static +/usr/include/c++/14.2.1/format:395:18:constexpr bool std::__format::__is_xdigit(char) 32 static +/usr/include/c++/14.2.1/format:766:5:std::__format::_Optional_locale::_Optional_locale(const std::locale&) 48 static +/usr/include/c++/14.2.1/format:798:5:std::__format::_Optional_locale::~_Optional_locale() 48 static +/usr/include/c++/14.2.1/format:814:5:const std::locale& std::__format::_Optional_locale::value() 48 static +/usr/include/c++/14.2.1/format:2785:11:constexpr std::__format::_Seq_sink >::~_Seq_sink() 48 static +/usr/include/c++/14.2.1/format:4255:3:std::string std::vformat(string_view, format_args) 848 static +/usr/include/c++/14.2.1/span:304:7:constexpr _Type* std::span<_Type, _Extent>::data() const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 32 static +/usr/include/c++/14.2.1/span:251:7:constexpr std::span<_Type, _Extent>::size_type std::span<_Type, _Extent>::size() const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 32 static +/usr/include/c++/14.2.1/print:55:3:void std::vprint_nonunicode(FILE*, string_view, format_args) 880 static +/usr/include/c++/14.2.1/print:65:3:void std::vprint_unicode(FILE*, string_view, format_args) 224 static +/usr/include/c++/14.2.1/string_view:140:7:constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view(const _CharT*) [with _CharT = char; _Traits = std::char_traits] 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:199:5:static constexpr std::size_t __gnu_cxx::char_traits<_CharT>::length(const char_type*) [with _CharT = char] 192 static +/usr/include/c++/14.2.1/bits/char_traits.h:136:7:static constexpr bool __gnu_cxx::char_traits<_CharT>::eq(const char_type&, const char_type&) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:3906:7:constexpr std::__format::_Scanner<_CharT>::_Scanner(std::basic_string_view<_CharT>, std::size_t) [with _CharT = char] 192 static +/usr/include/c++/14.2.1/format:244:7:constexpr std::basic_format_parse_context<_CharT>::basic_format_parse_context(std::basic_string_view<_CharT>, std::size_t) [with _CharT = char] 192 static +/usr/include/c++/14.2.1/string_view:187:7:constexpr const std::basic_string_view<_CharT, _Traits>::value_type* std::basic_string_view<_CharT, _Traits>::begin() const [with _CharT = char; _Traits = std::char_traits] 32 static +/usr/include/c++/14.2.1/string_view:192:7:constexpr const std::basic_string_view<_CharT, _Traits>::value_type* std::basic_string_view<_CharT, _Traits>::end() const [with _CharT = char; _Traits = std::char_traits] 48 static +/usr/include/c++/14.2.1/string_view:229:7:constexpr std::basic_string_view<_CharT, _Traits>::size_type std::basic_string_view<_CharT, _Traits>::size() const [with _CharT = char; _Traits = std::char_traits] 32 static +/usr/include/c++/14.2.1/string_view:254:7:constexpr const std::basic_string_view<_CharT, _Traits>::value_type& std::basic_string_view<_CharT, _Traits>::operator[](size_type) const [with _CharT = char; _Traits = std::char_traits] 48 static +/usr/include/c++/14.2.1/format:3914:7:constexpr void std::__format::_Scanner<_CharT>::_M_scan() [with _CharT = char] 352 static +/usr/include/c++/14.2.1/format:3977:7:constexpr std::basic_string_view<_CharT> std::__format::_Scanner<_CharT>::_M_fmt_str() const [with _CharT = char] 176 static +/usr/include/c++/14.2.1/format:3910:26:constexpr std::__format::_Scanner<_CharT>::iterator std::__format::_Scanner<_CharT>::begin() const [with _CharT = char] 32 static +/usr/include/c++/14.2.1/format:252:32:constexpr std::basic_format_parse_context<_CharT>::const_iterator std::basic_format_parse_context<_CharT>::begin() const [with _CharT = char] 32 static +/usr/include/c++/14.2.1/format:3911:26:constexpr std::__format::_Scanner<_CharT>::iterator std::__format::_Scanner<_CharT>::end() const [with _CharT = char] 32 static +/usr/include/c++/14.2.1/format:253:32:constexpr std::basic_format_parse_context<_CharT>::const_iterator std::basic_format_parse_context<_CharT>::end() const [with _CharT = char] 32 static +/usr/include/c++/14.2.1/string_view:155:2:constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view(_It, _End) [with _It = const char*; _End = const char*; _CharT = char; _Traits = std::char_traits] 64 static +/usr/include/c++/14.2.1/bits/ptr_traits.h:241:5:constexpr _Tp* std::to_address(_Tp*) [with _Tp = const char] 32 static +/usr/include/c++/14.2.1/bits/ptr_traits.h:205:5:constexpr _Tp* std::__to_address(_Tp*) [with _Tp = const char] 16 static +/usr/include/c++/14.2.1/bits/string_view.tcc:80:5:constexpr std::basic_string_view<_CharT, _Traits>::size_type std::basic_string_view<_CharT, _Traits>::find(_CharT, size_type) const [with _CharT = char; _Traits = std::char_traits] 224 static +/usr/include/c++/14.2.1/bits/char_traits.h:210:5:static constexpr const __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, std::size_t, const char_type&) [with _CharT = char] 80 static +/usr/include/c++/14.2.1/format:3980:30:constexpr void std::__format::_Scanner<_CharT>::_M_on_chars(iterator) [with _CharT = char] 16 static +/usr/include/c++/14.2.1/format:256:7:constexpr void std::basic_format_parse_context<_CharT>::advance_to(const_iterator) [with _CharT = char] 32 static +f.cc:88:3:TrieNode::TrieNode(int) 48 static +f.cc:94:3:BitwiseTrie::BitwiseTrie() 32 static +f.cc:97:8:void BitwiseTrie::insert(int, int) 96 static +f.cc:109:7:int BitwiseTrie::query(int, int) 112 static +/usr/include/c++/14.2.1/format:260:7:constexpr std::size_t std::basic_format_parse_context<_CharT>::next_arg_id() [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:958:20:std::__format::__formatter_int::_M_do_parse(std::basic_format_parse_context&, std::__format::_Pres_type):: 48 static +/usr/include/c++/14.2.1/format:962:20:std::__format::__formatter_int::_M_do_parse(std::basic_format_parse_context&, std::__format::_Pres_type):: 48 static +/usr/include/c++/14.2.1/format:950:7:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_do_parse(std::basic_format_parse_context<_CharT>&, std::__format::_Pres_type) [with _CharT = char] 352 static +f.cc:144:6:void solve() 352 static +f.cc:166:5:int main() 176 static +/usr/include/c++/14.2.1/bits/stl_construct.h:94:5:) [with _Tp = char; _Args = {const char&}] 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:222:5:static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(char_type*, const char_type*, std::size_t) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/bits/char_traits.h:253:5:static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::copy(char_type*, const char_type*, std::size_t) [with _CharT = char] 80 static +/usr/include/c++/14.2.1/bits/char_traits.h:273:5:static constexpr __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::assign(char_type*, std::size_t, char_type) [with _CharT = char] 224 static +/usr/include/c++/14.2.1/string_view:289:7:constexpr const std::basic_string_view<_CharT, _Traits>::value_type* std::basic_string_view<_CharT, _Traits>::data() const [with _CharT = char; _Traits = std::char_traits] 32 static +/usr/include/c++/14.2.1/string_view:146:7:constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view(const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:227:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_data() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:259:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_set_length(size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 176 static +/usr/include/c++/14.2.1/bits/basic_string.h:808:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::~basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/charconv.h:81:5:constexpr void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = unsigned int] 464 static +/usr/include/c++/14.2.1/bits/basic_string.h:341:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::allocator_type& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_get_allocator() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:267:7:constexpr bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_is_local() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:1083:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:682:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 96 static +/usr/include/c++/14.2.1/bits/charconv.h:81:5:constexpr void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = long unsigned int] 480 static +/usr/include/c++/14.2.1/bits/charconv.h:81:5:constexpr void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = long long unsigned int] 480 static +/usr/include/c++/14.2.1/bits/basic_string.h:949:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator __sv_type() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 176 static +/usr/include/c++/14.2.1/bits/basic_string.h:193:2:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_Alloc_hider::_Alloc_hider(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 80 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = int] 32 static +/usr/include/c++/14.2.1/charconv:319:5:constexpr std::to_chars_result std::__to_chars_i(char*, char*, _Tp, int) [with _Tp = unsigned char] 80 static +/usr/include/c++/14.2.1/charconv:319:5:constexpr std::to_chars_result std::__to_chars_i(char*, char*, _Tp, int) [with _Tp = unsigned int] 80 static +/usr/include/c++/14.2.1/charconv:319:5:constexpr std::to_chars_result std::__to_chars_i(char*, char*, _Tp, int) [with _Tp = long unsigned int] 80 static +/usr/include/c++/14.2.1/charconv:319:5:constexpr std::to_chars_result std::__to_chars_i(char*, char*, _Tp, int) [with _Tp = long long unsigned int] 80 static +/usr/include/c++/14.2.1/bit:201:5:constexpr int std::__countl_zero(_Tp) [with _Tp = unsigned int] 64 static +/usr/include/c++/14.2.1/bits/stl_algo.h:2019:5:constexpr _FIter std::upper_bound(_FIter, _FIter, const _Tp&) [with _FIter = const char32_t*; _Tp = char32_t] 48 static +/usr/include/c++/14.2.1/bits/stl_algobase.h:1530:5:constexpr _ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = const unsigned int*; _Tp = unsigned int] 48 static +/usr/include/c++/14.2.1/bits/stl_algo.h:3842:5:constexpr _IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = const char32_t*; _Tp = char32_t] 48 static +/usr/include/c++/14.2.1/bits/stl_construct.h:94:5:) [with _Tp = locale; _Args = {}] 48 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::_Seq_sink<__cxx11::basic_string >&] 32 static +/usr/include/c++/14.2.1/format:2877:7:_Seq std::__format::_Seq_sink<_Seq>::get() && [with _Seq = std::__cxx11::basic_string] 240 static +/usr/include/c++/14.2.1/bits/ranges_base.h:474:2:constexpr auto std::ranges::__access::_Data::operator()(_Tp&&) const [with _Tp = std::__cxx11::basic_string&] 32 static +/usr/include/c++/14.2.1/bits/ranges_base.h:352:2:constexpr auto std::ranges::__access::_Size::operator()(_Tp&&) const [with _Tp = std::__cxx11::basic_string&] 32 static +/usr/include/c++/14.2.1/format:2887:7:std::span std::__format::_Seq_sink<_Seq>::view() [with _Seq = std::__cxx11::basic_string] 256 static +/usr/include/c++/14.2.1/bits/basic_string.h:2653:7:constexpr const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::data() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __cxx11::basic_string&] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:1222:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::clear() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:1231:7:constexpr bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/move.h:51:5:constexpr _Tp* std::__addressof(_Tp&) [with _Tp = __cxx11::basic_string] 16 static +/usr/include/c++/14.2.1/bits/basic_string.h:858:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 112 static +/usr/include/c++/14.2.1/bits/basic_string.h:1692:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/ranges_base.h:117:2:constexpr auto std::ranges::__access::_Begin::operator()(_Tp&&) const [with _Tp = std::ranges::subrange&] 32 static +/usr/include/c++/14.2.1/bits/ranges_base.h:167:2:constexpr auto std::ranges::__access::_End::operator()(_Tp&&) const [with _Tp = std::ranges::subrange&] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:578:22:constexpr bool std::__unicode::_Utf_view<_ToFormat, _Range>::empty() const [with _ToFormat = char32_t; _Range = std::ranges::subrange] 32 static +/usr/include/c++/14.2.1/bits/ranges_base.h:433:2:constexpr bool std::ranges::__access::_Empty::operator()(_Tp&&) const [with _Tp = const std::ranges::subrange&] 32 static +/usr/include/c++/14.2.1/bits/ranges_util.h:363:22:constexpr bool std::ranges::subrange<_It, _Sent, _Kind>::empty() const [with _It = const char*; _Sent = const char*; std::ranges::subrange_kind _Kind = std::ranges::subrange_kind::sized] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:546:2:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::_M_begin(_Iter, _Sent) [with _Iter = const char*; _Sent = const char*; _ToFormat = char32_t; _Range = std::ranges::subrange] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:572:22:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::begin() [with _ToFormat = char32_t; _Range = std::ranges::subrange] 64 static +/usr/include/c++/14.2.1/format:431:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_fill_and_align(iterator, iterator) [with _CharT = char] 416 static +/usr/include/c++/14.2.1/format:559:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_width(iterator, iterator, std::basic_format_parse_context<_CharT>&) [with _CharT = char] 208 static +/usr/include/c++/14.2.1/bits/stl_pair.h:1255:5:constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&) [with long unsigned int _Int = 0; _Tp1 = short unsigned int; _Tp2 = const char*] 48 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = pair&] 32 static +/usr/include/c++/14.2.1/bits/stl_pair.h:1205:2:static constexpr _Tp1&& std::__pair_get<0>::__move_get(std::pair<_T1, _T2>&&) [with _Tp1 = short unsigned int; _Tp2 = const char*] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = short unsigned int] 32 static +/usr/include/c++/14.2.1/bits/stl_pair.h:1255:5:constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&) [with long unsigned int _Int = 1; _Tp1 = short unsigned int; _Tp2 = const char*] 48 static +/usr/include/c++/14.2.1/bits/stl_pair.h:1229:2:static constexpr _Tp2&& std::__pair_get<1>::__move_get(std::pair<_T1, _T2>&&) [with _Tp1 = short unsigned int; _Tp2 = const char*] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = const char*] 32 static +/usr/include/c++/14.2.1/format:3982:22:constexpr void std::__format::_Scanner<_CharT>::_M_on_replacement_field() [with _CharT = char] 208 static +f.cc:11:24:T MIN() [with T = int] 8 static +f.cc:16:24:T MAX() [with T = int] 8 static +/usr/include/c++/14.2.1/bits/stl_algobase.h:257:5:constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int] 48 static +/usr/include/c++/14.2.1/print:128:5:) [with _Args = {int&}] 176 static +/usr/include/c++/14.2.1/format:486:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_sign(iterator, iterator) [with _CharT = char] 80 static +/usr/include/c++/14.2.1/format:498:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_alternate_form(iterator, iterator) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:510:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_zero_fill(iterator, iterator) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:595:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_locale(iterator, iterator) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = const char&] 32 static +/usr/include/c++/14.2.1/bits/stl_construct.h:94:5:) [with _Tp = char; _Args = {char&}] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:222:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_length(size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:285:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_dispose() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:243:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_local_data() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:217:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_data(pointer) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:254:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_capacity(size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/charconv:115:5:constexpr unsigned int std::__detail::__to_chars_len_2(_Tp) [with _Tp = unsigned int] 32 static +/usr/include/c++/14.2.1/charconv:161:5:constexpr std::to_chars_result std::__detail::__to_chars_16(char*, char*, _Tp) [with _Tp = unsigned int] 240 static +/usr/include/c++/14.2.1/charconv:207:5:constexpr std::to_chars_result std::__detail::__to_chars_10(char*, char*, _Tp) [with _Tp = unsigned int] 208 static +/usr/include/c++/14.2.1/charconv:230:5:constexpr std::to_chars_result std::__detail::__to_chars_8(char*, char*, _Tp) [with _Tp = unsigned int] 208 static +/usr/include/c++/14.2.1/charconv:283:5:constexpr std::to_chars_result std::__detail::__to_chars_2(char*, char*, _Tp) [with _Tp = unsigned int] 208 static +/usr/include/c++/14.2.1/charconv:121:5:constexpr std::to_chars_result std::__detail::__to_chars(char*, char*, _Tp, int) [with _Tp = unsigned int] 320 static +/usr/include/c++/14.2.1/charconv:115:5:constexpr unsigned int std::__detail::__to_chars_len_2(_Tp) [with _Tp = long unsigned int] 32 static +/usr/include/c++/14.2.1/charconv:161:5:constexpr std::to_chars_result std::__detail::__to_chars_16(char*, char*, _Tp) [with _Tp = long unsigned int] 256 static +/usr/include/c++/14.2.1/charconv:207:5:constexpr std::to_chars_result std::__detail::__to_chars_10(char*, char*, _Tp) [with _Tp = long unsigned int] 208 static +/usr/include/c++/14.2.1/charconv:230:5:constexpr std::to_chars_result std::__detail::__to_chars_8(char*, char*, _Tp) [with _Tp = long unsigned int] 224 static +/usr/include/c++/14.2.1/charconv:283:5:constexpr std::to_chars_result std::__detail::__to_chars_2(char*, char*, _Tp) [with _Tp = long unsigned int] 224 static +/usr/include/c++/14.2.1/charconv:121:5:constexpr std::to_chars_result std::__detail::__to_chars(char*, char*, _Tp, int) [with _Tp = long unsigned int] 336 static +/usr/include/c++/14.2.1/bits/stl_algo.h:1980:5:constexpr _ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = const char32_t*; _Tp = char32_t; _Compare = __gnu_cxx::__ops::_Val_less_iter] 320 static +/usr/include/c++/14.2.1/bits/stl_algobase.h:1491:5:constexpr _ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = const unsigned int*; _Tp = unsigned int; _Compare = __gnu_cxx::__ops::_Iter_less_val] 320 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:276:5:constexpr __gnu_cxx::__ops::_Iter_equals_val<_Value> __gnu_cxx::__ops::__iter_equals_val(_Value&) [with _Value = const char32_t] 160 static +/usr/include/c++/14.2.1/bits/stl_algobase.h:2150:5:constexpr _Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = const char32_t*; _Predicate = __gnu_cxx::__ops::_Iter_equals_val] 208 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::_Sink_iter&] 32 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = std::monostate] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = bool] 240 static +/usr/include/c++/14.2.1/format:2635:7:auto std::__format::_Sink_iter<_CharT>::_M_reserve(std::size_t) const [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = char] 192 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = int] 208 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = unsigned int] 192 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = long long int] 208 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = long long unsigned int] 192 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = float] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = double] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = long double] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = const char*] 224 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = std::basic_string_view] 224 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = const void*] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = std::basic_format_arg, char> >::handle] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = __int128] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = __int128 unsigned] 16 static +/usr/include/c++/14.2.1/format:4127:28:std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*):: [with auto:40 = _Float128] 16 static +/usr/include/c++/14.2.1/format:3502:2:decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*)::; _Context = std::basic_format_context, char>] 80 static +/usr/include/c++/14.2.1/format:3568:5:decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*)::; _Context = basic_format_context<__format::_Sink_iter, char>] 208 static +/usr/include/c++/14.2.1/format:3868:7:std::basic_format_context<_Out, _CharT>::~basic_format_context() [with _Out = std::__format::_Sink_iter; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:4110:5:_Out std::__format::__do_vformat_to(_Out, std::basic_string_view<_CharT>, const std::basic_format_args<_Context>&, const std::locale*) [with _Out = _Sink_iter; _CharT = char; _Context = std::basic_format_context<_Sink_iter, char>] 1136 dynamic,bounded +/usr/include/c++/14.2.1/span:261:7:constexpr bool std::span<_Type, _Extent>::empty() const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 32 static +/usr/include/c++/14.2.1/format:2793:7:void std::__format::_Seq_sink<_Seq>::_M_overflow() [with _Seq = std::__cxx11::basic_string] 256 static +/usr/include/c++/14.2.1/bits/ptr_traits.h:205:5:constexpr _Tp* std::__to_address(_Tp*) [with _Tp = char] 16 static +/usr/include/c++/14.2.1/bits/basic_string.h:2665:7:constexpr _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::data() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/span:213:2:constexpr std::span<_Type, _Extent>::span(_Range&&) [with _Range = std::__cxx11::basic_string&; _Type = char; long unsigned int _Extent = 18446744073709551615] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:293:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_destroy(size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 112 static +/usr/include/c++/14.2.1/bits/basic_string.h:430:7:static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bits/basic_string.h:1180:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::capacity() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/move.h:51:5:constexpr _Tp* std::__addressof(_Tp&) [with _Tp = const __cxx11::basic_string] 16 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:277:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_assign(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 192 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:304:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reserve(size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 192 static +/usr/include/c++/14.2.1/bits/basic_string.h:1397:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:391:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_check(size_type, const char*) const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:511:5:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 144 static +/usr/include/c++/14.2.1/bits/ranges_util.h:354:7:constexpr _It std::ranges::subrange<_It, _Sent, _Kind>::begin() const requires copyable<_It> [with _It = const char*; _Sent = const char*; std::ranges::subrange_kind _Kind = std::ranges::subrange_kind::sized] 32 static +/usr/include/c++/14.2.1/bits/ranges_util.h:361:23:constexpr _Sent std::ranges::subrange<_It, _Sent, _Kind>::end() const [with _It = const char*; _Sent = const char*; std::ranges::subrange_kind _Kind = std::ranges::subrange_kind::sized] 32 static +/usr/include/c++/14.2.1/bits/ranges_util.h:298:7:constexpr std::ranges::subrange<_It, _Sent, _Kind>::subrange(auto:1, _Sent) requires ! std::ranges::subrange<_It, _Sent, _Kind>::_S_store_size [with auto:1 = const char*; _It = const char*; _Sent = const char*; std::ranges::subrange_kind _Kind = std::ranges::subrange_kind::sized] 192 static +/usr/include/c++/14.2.1/bits/unicode.h:570:7:constexpr std::__unicode::_Utf_view<_ToFormat, _Range>::_Utf_view(_Range&&) [with _ToFormat = char32_t; _Range = std::ranges::subrange] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:480:7:constexpr _Iter& std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_curr() [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:108:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_Utf_iterator(_Iter, _Iter, _Sent) requires bidirectional_iterator<_Iter> [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 192 static +/usr/include/c++/14.2.1/bits/unicode.h:175:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler> std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::operator++(int) [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 64 static +/usr/include/c++/14.2.1/bits/unicode.h:155:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::value_type std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::operator*() const [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:150:7:constexpr _Iter std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::base() const requires forward_iterator<_Iter> [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 32 static +/usr/include/c++/14.2.1/format:418:7:static constexpr std::__format::_Align std::__format::_Spec<_CharT>::_S_align(_CharT) [with _CharT = char] 16 static +/usr/include/c++/14.2.1/format:522:7:static constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_S_parse_width_or_precision(iterator, iterator, short unsigned int&, bool&, std::basic_format_parse_context<_CharT>&) [with _CharT = char] 272 static +/usr/include/c++/14.2.1/format:851:20:std::__format::__formatter_str::parse(std::basic_format_parse_context&):: 48 static +/usr/include/c++/14.2.1/format:855:20:std::__format::__formatter_str::parse(std::basic_format_parse_context&):: 48 static +/usr/include/c++/14.2.1/format:845:7:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_str<_CharT>::parse(std::basic_format_parse_context<_CharT>&) [with _CharT = char] 336 static +/usr/include/c++/14.2.1/format:336:5:constexpr std::pair std::__format::__parse_arg_id(const _CharT*, const _CharT*) [with _CharT = char] 416 static +/usr/include/c++/14.2.1/format:275:7:constexpr void std::basic_format_parse_context<_CharT>::check_arg_id(std::size_t) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = int&] 32 static +/usr/include/c++/14.2.1/print:120:5:) [with _Args = {int&}] 272 static +/usr/include/c++/14.2.1/format:473:7:static constexpr std::__format::_Sign std::__format::_Spec<_CharT>::_S_sign(_CharT) [with _CharT = char] 16 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = char&] 32 static +/usr/include/c++/14.2.1/bits/ptr_traits.h:134:7:static constexpr _Tp* std::__ptr_traits_ptr_to<_Tp*, _Tp, false>::pointer_to(element_type&) [with _Tp = const char] 32 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:138:5:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create(size_type&, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bit:371:5:constexpr int std::__bit_width(_Tp) [with _Tp = long unsigned int] 64 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:97:7:constexpr bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = const char32_t; _Iterator = const char32_t*] 64 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:68:7:constexpr bool __gnu_cxx::__ops::_Iter_less_val::operator()(_Iterator, _Value&) const [with _Iterator = const unsigned int*; _Value = const unsigned int] 64 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:262:7:constexpr __gnu_cxx::__ops::_Iter_equals_val<_Value>::_Iter_equals_val(_Value&) [with _Value = const char32_t] 32 static +/usr/include/c++/14.2.1/bits/stl_algobase.h:2099:5:constexpr _RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = const char32_t*; _Predicate = __gnu_cxx::__ops::_Iter_equals_val] 208 static +/usr/include/c++/14.2.1/span:187:2:constexpr std::span<_Type, _Extent>::span(std::type_identity_t<_Type> (&)[_ArrayExtent]) [with long unsigned int _ArrayExtent = 256; _Type = char; long unsigned int _Extent = 18446744073709551615] 48 static +/usr/include/c++/14.2.1/bits/move.h:175:5:constexpr _Tp* std::addressof(_Tp&) [with _Tp = __format::_Sink] 32 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = __format::__do_vformat_to<_Sink_iter, char, std::basic_format_context<_Sink_iter, char> >(_Sink_iter, std::basic_string_view, const std::basic_format_args, char> >&, const std::locale*)::] 32 static +/usr/include/c++/14.2.1/format:2736:7:std::__format::_Sink<_CharT>::_Reservation std::__format::_Sink<_CharT>::_M_reserve(std::size_t) [with _CharT = char] 304 static +/usr/include/c++/14.2.1/format:2723:11:std::__format::_Sink<_CharT>::_Reservation::operator bool() const [with _CharT = char] 32 static +/usr/include/c++/14.2.1/format:2725:10:_CharT* std::__format::_Sink<_CharT>::_Reservation::get() const [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2727:7:void std::__format::_Sink<_CharT>::_Reservation::_M_bump(std::size_t) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:3845:7:std::basic_format_context<_Out, _CharT>::basic_format_context(std::basic_format_args >, _Out) [with _Out = std::__format::_Sink_iter; _CharT = char] 224 static +/usr/include/c++/14.2.1/format:3850:7:std::basic_format_context<_Out, _CharT>::basic_format_context(std::basic_format_args >, _Out, const std::locale&) [with _Out = std::__format::_Sink_iter; _CharT = char] 224 static +/usr/include/c++/14.2.1/format:4021:7:std::__format::_Formatting_scanner<_Out, _CharT>::_Formatting_scanner(std::basic_format_context<_Out, _CharT>&, std::basic_string_view<_CharT>) [with _Out = std::__format::_Sink_iter; _CharT = char] 192 static +/usr/include/c++/14.2.1/format:3884:16:std::basic_format_context<_Out, _CharT>::iterator std::basic_format_context<_Out, _CharT>::out() [with _Out = std::__format::_Sink_iter; _CharT = char] 48 static +/usr/include/c++/14.2.1/span:311:7:constexpr std::span<_Type, _Extent>::iterator std::span<_Type, _Extent>::begin() const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 160 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1325:5:constexpr typename __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type __gnu_cxx::operator-(const __normal_iterator<_Iterator, _Container>&, const __normal_iterator<_Iterator, _Container>&) [with _Iterator = char*; _Container = std::span] 48 static +/usr/include/c++/14.2.1/span:368:7:constexpr std::span<_Type, 18446744073709551615> std::span<_Type, _Extent>::first(size_type) const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 160 static +/usr/include/c++/14.2.1/bits/basic_string.h:1466:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/string_view:334:7:constexpr std::basic_string_view<_CharT, _Traits> std::basic_string_view<_CharT, _Traits>::substr(size_type, size_type) const [with _CharT = char; _Traits = std::char_traits] 272 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:450:5:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace_aux(size_type, size_type, size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 112 static +/usr/include/c++/14.2.1/bits/basic_string.h:1572:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::push_back(_CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 192 static +/usr/include/c++/14.2.1/bits/basic_string.h:1541:9:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(const _Tp&) [with _Tp = std::basic_string_view; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 176 static +/usr/include/c++/14.2.1/bits/basic_string.h:1089:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::max_size() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 16 static +/usr/include/c++/14.2.1/bits/basic_string.h:402:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(size_type, size_type, const char*) const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bits/basic_string.h:129:7:static constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_allocate(_Char_alloc_type&, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 192 static +/usr/include/c++/14.2.1/bits/basic_string.h:420:7:bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_disjunct(const _CharT*) const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 224 static +/usr/include/c++/14.2.1/bits/basic_string.h:440:7:static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_move(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:325:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_mutate(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 224 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = const char*&] 32 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = ranges::subrange] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:509:4:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_First_and_curr<_It>::_First_and_curr(_It, _It) [with _It = const char*; _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:231:7:constexpr void std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_read() [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:158:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>& std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::operator++() [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 80 static +/usr/include/c++/14.2.1/array:214:7:constexpr const std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) const [with _Tp = char32_t; long unsigned int _Nm = 1] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:483:7:constexpr _Iter std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_curr() const [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 32 static +/usr/include/c++/14.2.1/format:307:5:constexpr std::pair std::__format::__parse_integer(const _CharT*, const _CharT*) [with _CharT = char] 336 static +/usr/include/c++/14.2.1/print:104:5:) [with _Args = {__cxx11::basic_string, allocator >}] 352 static +/usr/include/c++/14.2.1/format:575:7:constexpr std::__format::_Spec<_CharT>::iterator std::__format::_Spec<_CharT>::_M_parse_precision(iterator, iterator, std::basic_format_parse_context<_CharT>&) [with _CharT = char] 208 static +/usr/include/c++/14.2.1/bits/stl_pair.h:442:2:constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int; _U2 = const char*; _T1 = short unsigned int; _T2 = const char*] 64 static +/usr/include/c++/14.2.1/bits/stl_pair.h:428:7:constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) requires _S_constructible() [with _T1 = short unsigned int; _T2 = const char*] 64 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = std::nullptr_t] 32 static +/usr/include/c++/14.2.1/bits/stl_pair.h:442:2:constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int; _U2 = std::nullptr_t; _T1 = short unsigned int; _T2 = const char*] 64 static +/usr/include/c++/14.2.1/format:4296:5:) [with _Args = {int&}] 384 static +/usr/include/c++/14.2.1/bits/move.h:175:5:constexpr _Tp* std::addressof(_Tp&) [with _Tp = const char] 32 static +/usr/include/c++/14.2.1/bit:201:5:constexpr int std::__countl_zero(_Tp) [with _Tp = long unsigned int] 64 static +/usr/include/c++/14.2.1/bits/stl_iterator_base_funcs.h:184:5:constexpr void std::__advance(_RandomAccessIterator&, _Distance, random_access_iterator_tag) [with _RandomAccessIterator = const char32_t*; _Distance = long int] 48 static +/usr/include/c++/14.2.1/bits/stl_iterator_base_funcs.h:184:5:constexpr void std::__advance(_RandomAccessIterator&, _Distance, random_access_iterator_tag) [with _RandomAccessIterator = const unsigned int*; _Distance = long int] 48 static +/usr/include/c++/14.2.1/bits/predefined_ops.h:269:2:constexpr bool __gnu_cxx::__ops::_Iter_equals_val<_Value>::operator()(_Iterator) [with _Iterator = const char32_t*; _Value = const char32_t] 48 static +/usr/include/c++/14.2.1/string_view:303:7:constexpr void std::basic_string_view<_CharT, _Traits>::remove_suffix(size_type) [with _CharT = char; _Traits = std::char_traits] 48 static +/usr/include/c++/14.2.1/bits/move.h:51:5:constexpr _Tp* std::__addressof(_Tp&) [with _Tp = __format::_Sink] 16 static +/usr/include/c++/14.2.1/format:3656:7:std::__format::_Arg_t std::basic_format_args<_Context>::_M_type(std::size_t) const [with _Context = std::basic_format_context, char>] 64 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1067:7:constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = char*; _Container = std::span] 48 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1095:7:constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container>::pointer __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator->() const [with _Iterator = char*; _Container = std::span] 32 static +/usr/include/c++/14.2.1/format:2753:7:void std::__format::_Sink<_CharT>::_M_bump(std::size_t) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1153:7:constexpr const _Iterator& __gnu_cxx::__normal_iterator<_Iterator, _Container>::base() const [with _Iterator = char*; _Container = std::span] 32 static +/usr/include/c++/14.2.1/span:157:2:constexpr std::span<_Type, _Extent>::span(_It, size_type) [with _It = char*; _Type = char; long unsigned int _Extent = 18446744073709551615] 64 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:413:5:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_append(const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 80 static +/usr/include/c++/14.2.1/bits/basic_string.h:450:7:static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_assign(_CharT*, size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 192 static +/usr/include/c++/14.2.1/bits/new_allocator.h:156:7:void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = char] 48 static +/usr/include/c++/14.2.1/bits/stl_function.h:448:7:constexpr bool std::less<_Tp*>::operator()(_Tp*, _Tp*) const [with _Tp = const char] 16 static +/usr/include/c++/14.2.1/bits/unicode.h:269:16:std::__unicode::_Utf_iterator::_M_read_utf8():: 48 static +/usr/include/c++/14.2.1/bits/unicode.h:262:7:constexpr void std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_read_utf8() [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 272 static +/usr/include/c++/14.2.1/charconv:448:5:constexpr unsigned char std::__detail::__from_chars_alnum_to_val(unsigned char) [with bool _DecOnly = true] 16 static +/usr/include/c++/14.2.1/charconv:517:5:constexpr bool std::__detail::__from_chars_alnum(const char*&, const char*, _Tp&, int) [with bool _DecOnly = true; _Tp = short unsigned int] 80 static +/usr/include/c++/14.2.1/bits/stl_pair.h:442:2:constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = short unsigned int&; _U2 = const char*&; _T1 = short unsigned int; _T2 = const char*] 64 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:257:7:constexpr std::reverse_iterator<_Iterator>::reference std::reverse_iterator<_Iterator>::operator*() const [with _Iterator = const std::__format::_Arg_t*] 64 static +/usr/include/c++/14.2.1/array:167:7:constexpr std::array<_Tp, _Nm>::const_reverse_iterator std::array<_Tp, _Nm>::rend() const [with _Tp = std::__format::_Arg_t; long unsigned int _Nm = 1] 32 static +/usr/include/c++/14.2.1/array:137:7:constexpr const std::array<_Tp, _Nm>::value_type* std::array<_Tp, _Nm>::begin() const [with _Tp = std::__format::_Arg_t; long unsigned int _Nm = 1] 32 static +/usr/include/c++/14.2.1/array:287:7:constexpr const std::array<_Tp, _Nm>::value_type* std::array<_Tp, _Nm>::data() const [with _Tp = std::__format::_Arg_t; long unsigned int _Nm = 1] 32 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:188:7:constexpr std::reverse_iterator<_Iterator>::reverse_iterator(iterator_type) [with _Iterator = const std::__format::_Arg_t*] 32 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:241:7:constexpr std::reverse_iterator<_Iterator>::iterator_type std::reverse_iterator<_Iterator>::base() const [with _Iterator = const std::__format::_Arg_t*] 32 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:586:5:constexpr bool std::operator==(const reverse_iterator<_IteratorL>&, const reverse_iterator<_IteratorL>&) requires requires{{std::operator==::__x->base() == std::operator==::__y->base()} -> decltype(auto) [requires std::convertible_to<, bool>];} [with _Iterator = const __format::_Arg_t*] 48 static +/usr/include/c++/14.2.1/format:3610:5:constexpr auto std::__format::__pack_arg_types(const std::array<_Arg_t, _Nm>&) [with int _Bits = 5; long unsigned int _Nm = 1] 240 static +/usr/include/c++/14.2.1/array:157:7:constexpr std::array<_Tp, _Nm>::const_reverse_iterator std::array<_Tp, _Nm>::rbegin() const [with _Tp = std::__format::_Arg_t; long unsigned int _Nm = 1] 32 static +/usr/include/c++/14.2.1/array:147:7:constexpr const std::array<_Tp, _Nm>::value_type* std::array<_Tp, _Nm>::end() const [with _Tp = std::__format::_Arg_t; long unsigned int _Nm = 1] 48 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:289:7:constexpr std::reverse_iterator<_Iterator>& std::reverse_iterator<_Iterator>::operator++() [with _Iterator = const std::__format::_Arg_t*] 48 static +/usr/include/c++/14.2.1/format:3766:7:>&) [with _Args = {std::basic_string_view >}; _Context = std::basic_format_context, char>] 176 static +/usr/include/c++/14.2.1/format:3766:7:>&) [with _Args = {int}; _Context = std::basic_format_context, char>] 176 static +/usr/include/c++/14.2.1/bits/move.h:51:5:constexpr _Tp* std::__addressof(_Tp&) [with _Tp = const char] 16 static +/usr/include/c++/14.2.1/span:430:7:constexpr std::span<_Type, 18446744073709551615> std::span<_Type, _Extent>::subspan(size_type, size_type) const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 192 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1133:7:constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator+=(difference_type) [with _Iterator = char*; _Container = std::span] 48 static +/usr/include/c++/14.2.1/bits/ptr_traits.h:241:5:constexpr _Tp* std::to_address(_Tp*) [with _Tp = char] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:256:14:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_Guard<_It>::~_Guard() [with _It = const char*; _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:468:7:constexpr char32_t std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_S_error() [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 176 static +/usr/include/c++/14.2.1/bits/unicode.h:403:7:constexpr void std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_update(char32_t, uint8_t) [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/stl_iterator_base_funcs.h:184:5:constexpr void std::__advance(_RandomAccessIterator&, _Distance, random_access_iterator_tag) [with _RandomAccessIterator = const char*; _Distance = long int] 48 static +/usr/include/c++/14.2.1/charconv:397:5:constexpr bool std::__detail::__raise_and_add(_Tp&, int, unsigned char) [with _Tp = short unsigned int] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = short unsigned int&] 32 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = const char*&] 32 static +/usr/include/c++/14.2.1/format:3729:2:static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp = std::__cxx11::basic_string; _Context = std::basic_format_context, char>; _Args = {std::basic_string_view >}] 224 static +/usr/include/c++/14.2.1/format:3729:2:static std::__format::_Arg_store<_Context, _Args>::_Element_t std::__format::_Arg_store<_Context, _Args>::_S_make_elt(_Tp&) [with _Tp = int; _Context = std::basic_format_context, char>; _Args = {int}] 224 static +/usr/include/c++/14.2.1/bits/new_allocator.h:126:7:_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = char] 64 static +/usr/include/c++/14.2.1/array:206:7:constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) [with _Tp = char32_t; long unsigned int _Nm = 1] 48 static +/usr/include/c++/14.2.1/format:3480:2:std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Tp = std::__cxx11::basic_string; _Context = std::basic_format_context, char>] 192 static +/usr/include/c++/14.2.1/format:3480:2:std::basic_format_arg<_Context>::basic_format_arg(_Tp&) [with _Tp = int; _Context = std::basic_format_context, char>] 64 static +/usr/include/c++/14.2.1/format:3471:2:void std::basic_format_arg<_Context>::_M_set(_Tp) [with _Tp = std::basic_string_view; _Context = std::basic_format_context, char>] 240 static +/usr/include/c++/14.2.1/format:3471:2:void std::basic_format_arg<_Context>::_M_set(_Tp) [with _Tp = int; _Context = std::basic_format_context, char>] 80 static +/usr/include/c++/14.2.1/format:4032:7:constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_on_chars(iterator) [with _Out = std::__format::_Sink_iter; _CharT = char] 192 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = std::monostate] 32 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = bool] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = char] 192 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = int] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = unsigned int] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = long long int] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = long long unsigned int] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = float] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = double] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = long double] 224 dynamic,bounded +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = const char*] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = std::basic_string_view] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = const void*] 192 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = std::basic_format_arg, char> >::handle] 80 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = __int128] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = __int128 unsigned] 208 static +/usr/include/c++/14.2.1/format:4044:24:std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t):: [with auto:39 = _Float128] 208 static +/usr/include/c++/14.2.1/format:3502:2:decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_Formatting_scanner, char>::_M_format_arg(std::size_t)::; _Context = std::basic_format_context, char>] 80 static +/usr/include/c++/14.2.1/format:3568:5:decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_Formatting_scanner<__format::_Sink_iter, char>::_M_format_arg(std::size_t)::; _Context = basic_format_context<__format::_Sink_iter, char>] 208 static +/usr/include/c++/14.2.1/format:4039:7:constexpr void std::__format::_Formatting_scanner<_Out, _CharT>::_M_format_arg(std::size_t) [with _Out = std::__format::_Sink_iter; _CharT = char] 272 dynamic,bounded +/usr/include/c++/14.2.1/bits/ranges_base.h:117:2:constexpr auto std::ranges::__access::_Begin::operator()(_Tp&&) const [with _Tp = std::span&] 32 static +/usr/include/c++/14.2.1/bits/ranges_base.h:167:2:constexpr auto std::ranges::__access::_End::operator()(_Tp&&) const [with _Tp = std::span&] 32 static +/usr/include/c++/14.2.1/format:2920:7:void std::__format::_Iter_sink<_CharT, _OutIter>::_M_overflow() [with _CharT = char; _OutIter = std::__format::_Sink_iter] 400 static +/usr/include/c++/14.2.1/format:2812:7:typename std::__format::_Sink::_Reservation std::__format::_Seq_sink<_Seq>::_M_reserve(std::size_t) [with _Seq = std::__cxx11::basic_string] 320 static +/usr/include/c++/14.2.1/format:2848:7:void std::__format::_Seq_sink<_Seq>::_M_bump(std::size_t) [with _Seq = std::__cxx11::basic_string] 272 static +/usr/include/c++/14.2.1/format:649:5:_Out std::__format::__write(_Out, std::basic_string_view<_CharT>) [with _Out = _Sink_iter; _CharT = char] 256 static +/usr/include/c++/14.2.1/format:3886:12:void std::basic_format_context<_Out, _CharT>::advance_to(iterator) [with _Out = std::__format::_Sink_iter; _CharT = char] 160 static +/usr/include/c++/14.2.1/format:3877:7:std::basic_format_arg > std::basic_format_context<_Out, _CharT>::arg(std::size_t) const [with _Out = std::__format::_Sink_iter; _CharT = char] 96 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = __format::_Formatting_scanner<__format::_Sink_iter, char>::_M_format_arg(std::size_t)::] 32 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = bool; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1859:7:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::formatter<_CharT, _CharT>::parse(std::basic_format_parse_context<_CharT>&) [with _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1866:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_CharT, _CharT>::format(_CharT, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = int; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = unsigned int; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = long long int; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = long long unsigned int; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2168:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = float; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2168:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = double; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2168:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = long double; _CharT = char] 48 dynamic,bounded +/usr/include/c++/14.2.1/format:1970:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter::format(const _CharT*, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 192 static +/usr/include/c++/14.2.1/format:2068:2:typename std::basic_format_context<_Out, char>::iterator std::formatter, char>::format(std::basic_string_view, std::basic_format_context<_Out, char>&) const [with _Out = std::__format::_Sink_iter; _Traits = std::char_traits] 176 static +/usr/include/c++/14.2.1/format:2324:20:std::formatter::parse(std::basic_format_parse_context&):: 48 static +/usr/include/c++/14.2.1/format:2328:20:std::formatter::parse(std::basic_format_parse_context&):: 48 static +/usr/include/c++/14.2.1/format:2318:7:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::formatter::parse(std::basic_format_parse_context<_CharT>&) [with _CharT = char] 336 static +/usr/include/c++/14.2.1/string_view:132:7:constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view() [with _CharT = char; _Traits = std::char_traits] 32 static +/usr/include/c++/14.2.1/format:2383:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter::format(const void*, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 320 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = __int128; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2147:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = __int128 unsigned; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:2168:2:typename std::basic_format_context<_Out, _CharT>::iterator std::formatter<_Tp, _CharT>::format(_Tp, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _Tp = _Float128; _CharT = char] 48 static +/usr/include/c++/14.2.1/span:316:7:constexpr std::span<_Type, _Extent>::iterator std::span<_Type, _Extent>::end() const [with _Type = char; long unsigned int _Extent = 18446744073709551615] 208 static +/usr/include/c++/14.2.1/bits/ranges_algobase.h:318:7:constexpr std::ranges::copy_result, _Out> std::ranges::__copy_fn::operator()(_Range&&, _Out) const [with _Range = std::span&; _Out = std::__format::_Sink_iter] 192 static +/usr/include/c++/14.2.1/format:2684:7:void std::__format::_Sink<_CharT>::_M_reset(std::span<_Type, 18446744073709551615>, std::size_t) [with _CharT = char] 272 static +/usr/include/c++/14.2.1/bits/basic_string.h:1118:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize(size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = bool; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1159:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(bool, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 336 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = char; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1189:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::_M_format_character(_CharT, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 224 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = unsigned char; _Out = std::__format::_Sink_iter; _CharT = char] 560 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = int; _Out = std::__format::_Sink_iter; _CharT = char] 624 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = unsigned int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = unsigned int; _Out = std::__format::_Sink_iter; _CharT = char] 624 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = long long int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = long long int; _Out = std::__format::_Sink_iter; _CharT = char] 656 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = long long unsigned int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = long long unsigned int; _Out = std::__format::_Sink_iter; _CharT = char] 656 static +/usr/include/c++/14.2.1/format:1411:20:std::__format::__formatter_fp::parse(std::basic_format_parse_context&):: 48 static +/usr/include/c++/14.2.1/format:1415:20:std::__format::__formatter_fp::parse(std::basic_format_parse_context&):: 48 static +/usr/include/c++/14.2.1/format:1405:7:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_fp<_CharT>::parse(std::basic_format_parse_context<_CharT>&) [with _CharT = char] 336 static +/usr/include/c++/14.2.1/format:1565:22:std::__format::__formatter_fp::format >(float, std::basic_format_context, char>&) const:: 80 static +/usr/include/c++/14.2.1/format:1608:24:std::__format::__formatter_fp::format >(float, std::basic_format_context, char>&) const:: 192 static +/usr/include/c++/14.2.1/format:1502:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = float; _Out = std::__format::_Sink_iter; _CharT = char] 1312 static +/usr/include/c++/14.2.1/format:1565:22:std::__format::__formatter_fp::format >(double, std::basic_format_context, char>&) const:: 80 static +/usr/include/c++/14.2.1/format:1608:24:std::__format::__formatter_fp::format >(double, std::basic_format_context, char>&) const:: 192 static +/usr/include/c++/14.2.1/format:1502:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = double; _Out = std::__format::_Sink_iter; _CharT = char] 1344 static +/usr/include/c++/14.2.1/format:1565:22:std::__format::__formatter_fp::format >(long double, std::basic_format_context, char>&) const:: 96 dynamic,bounded +/usr/include/c++/14.2.1/format:1608:24:std::__format::__formatter_fp::format >(long double, std::basic_format_context, char>&) const:: 192 static +/usr/include/c++/14.2.1/format:1502:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = long double; _Out = std::__format::_Sink_iter; _CharT = char] 1344 dynamic,bounded +/usr/include/c++/14.2.1/format:897:2:_Out std::__format::__formatter_str<_CharT>::format(std::basic_string_view<_CharT>, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 192 static +/usr/include/c++/14.2.1/format:740:5:_Out std::__format::__write_padded_as_spec(std::basic_string_view::type>, std::size_t, std::basic_format_context<_Out, _CharT>&, const _Spec<_CharT>&, _Align) [with _CharT = char; _Out = _Sink_iter] 224 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = __int128; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = __int128; _Out = std::__format::_Sink_iter; _CharT = char] 768 static +/usr/include/c++/14.2.1/format:1059:2:constexpr typename std::basic_format_parse_context<_CharT>::iterator std::__format::__formatter_int<_CharT>::_M_parse(std::basic_format_parse_context<_CharT>&) [with _Tp = __int128 unsigned; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1088:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::format(_Int, std::basic_format_context<_Out, _CharT>&) const [with _Int = __int128 unsigned; _Out = std::__format::_Sink_iter; _CharT = char] 768 static +/usr/include/c++/14.2.1/format:1565:22:std::__format::__formatter_fp::format<_Float128, std::__format::_Sink_iter >(_Float128, std::basic_format_context, char>&) const:: 80 static +/usr/include/c++/14.2.1/format:1608:24:std::__format::__formatter_fp::format<_Float128, std::__format::_Sink_iter >(_Float128, std::basic_format_context, char>&) const:: 192 static +/usr/include/c++/14.2.1/format:1502:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_fp<_CharT>::format(_Fp, std::basic_format_context<_Out, _CharT>&) const [with _Fp = _Float128; _Out = std::__format::_Sink_iter; _CharT = char] 1328 static +/usr/include/c++/14.2.1/bits/ranges_algobase.h:308:7:constexpr std::ranges::copy_result<_Iter, _Out> std::ranges::__copy_fn::operator()(_Iter, _Sent, _Out) const [with _Iter = __gnu_cxx::__normal_iterator >; _Sent = __gnu_cxx::__normal_iterator >; _Out = std::__format::_Sink_iter] 272 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:597:23:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation)::_Terminator::~_Terminator() [with _Operation = std::__format::_Seq_sink >::_M_reserve(std::size_t)::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/format:2832:10:std::__format::_Seq_sink >::_M_reserve(std::size_t):: [with auto:37 = char*; auto:38 = long unsigned int] 160 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:583:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation) [with _Operation = std::__format::_Seq_sink >::_M_reserve(std::size_t)::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1138:7:constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator+(difference_type) const [with _Iterator = char*; _Container = std::span] 224 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:400:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize(size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = unsigned int] 32 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = int] 32 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = long long int] 48 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = long long unsigned int] 48 static +/usr/include/c++/14.2.1/bits/string_view.tcc:185:5:constexpr std::basic_string_view<_CharT, _Traits>::size_type std::basic_string_view<_CharT, _Traits>::find_first_not_of(_CharT, size_type) const [with _CharT = char; _Traits = std::char_traits] 192 static +/usr/include/c++/14.2.1/bits/basic_string.h:941:8:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _Tp&) [with _Tp = std::basic_string_view; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:1498:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::append(size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bits/basic_string.h:2032:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(size_type, size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 64 static +/usr/include/c++/14.2.1/bits/basic_string.h:1265:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = __int128] 48 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = __int128 unsigned] 48 static +/usr/include/c++/14.2.1/format:2700:7:constexpr void std::__format::_Sink<_CharT>::_M_write(std::basic_string_view<_CharT>) [with _CharT = char] 336 static +/usr/include/c++/14.2.1/format:3881:19:std::locale std::basic_format_context<_Out, _CharT>::locale() [with _Out = std::__format::_Sink_iter; _CharT = char] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:828:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = unsigned char; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1301:2:static std::to_chars_result std::__format::__formatter_int<_CharT>::to_chars(char*, char*, _Int, int) [with _Int = unsigned char; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:632:5:char* std::__format::__put_sign(_Int, _Sign, char*) [with _Int = unsigned char] 32 static +/usr/include/c++/14.2.1/format:1218:2:typename std::basic_format_context<_Out, _CharT>::iterator std::__format::__formatter_int<_CharT>::_M_format_int(std::string_view, std::size_t, std::basic_format_context<_Out, _CharT>&) const [with _Out = std::__format::_Sink_iter; _CharT = char] 640 dynamic +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1301:2:static std::to_chars_result std::__format::__formatter_int<_CharT>::to_chars(char*, char*, _Int, int) [with _Int = unsigned int; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = unsigned int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = long long int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1301:2:static std::to_chars_result std::__format::__formatter_int<_CharT>::to_chars(char*, char*, _Int, int) [with _Int = long long unsigned int; _CharT = char] 48 static +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = long long unsigned int; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:619:2:std::size_t std::__format::_Spec<_CharT>::_M_get_precision(_Context&) const [with _Context = std::basic_format_context, char>; _CharT = char] 208 static +/usr/include/c++/14.2.1/format:1825:21:std::__format::__formatter_fp::_M_localize(std::basic_string_view, char, const std::locale&) const:: 112 static +/usr/include/c++/14.2.1/format:1777:7:std::__cxx11::basic_string<_CharT> std::__format::__formatter_fp<_CharT>::_M_localize(std::basic_string_view<_CharT>, char, const std::locale&) const [with _CharT = char] 656 static +/usr/include/c++/14.2.1/format:607:2:std::size_t std::__format::_Spec<_CharT>::_M_get_width(_Context&) const [with _Context = std::basic_format_context, char>; _CharT = char] 208 static +/usr/include/c++/14.2.1/string_view:295:7:constexpr void std::basic_string_view<_CharT, _Traits>::remove_prefix(size_type) [with _CharT = char; _Traits = std::char_traits] 48 static +/usr/include/c++/14.2.1/format:674:20:std::__format::__write_padded<_Sink_iter, char>(_Sink_iter, std::basic_string_view, _Align, std::size_t, char32_t)::&)> 240 static +/usr/include/c++/14.2.1/bits/ranges_base.h:117:2:constexpr auto std::ranges::__access::_Begin::operator()(_Tp&&) const [with _Tp = const char32_t (&)[1]] 16 static +/usr/include/c++/14.2.1/bits/ranges_base.h:167:2:constexpr auto std::ranges::__access::_End::operator()(_Tp&&) const [with _Tp = const char32_t (&)[1]] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:570:7:constexpr std::__unicode::_Utf_view<_ToFormat, _Range>::_Utf_view(_Range&&) [with _ToFormat = char; _Range = const char32_t (&)[1]] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = const char32_t (&)[1]] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:546:2:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::_M_begin(_Iter, _Sent) [with _Iter = const char32_t*; _Sent = const char32_t*; _ToFormat = char; _Range = const char32_t (&)[1]] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:572:22:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::begin() [with _ToFormat = char; _Range = const char32_t (&)[1]] 64 static +/usr/include/c++/14.2.1/bits/unicode.h:556:2:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::_M_end(_Iter, _Sent) [with _Iter = const char32_t*; _Sent = const char32_t*; _ToFormat = char; _Range = const char32_t (&)[1]] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:575:22:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::end() [with _ToFormat = char; _Range = const char32_t (&)[1]] 64 static +/usr/include/c++/14.2.1/format:666:5:_Out std::__format::__write_padded(_Out, std::basic_string_view<_CharT>, _Align, std::size_t, char32_t) [with _Out = _Sink_iter; _CharT = char] 944 dynamic,bounded +/usr/include/c++/14.2.1/string_view:247:7:constexpr bool std::basic_string_view<_CharT, _Traits>::empty() const [with _CharT = char; _Traits = std::char_traits] 32 static +/usr/include/c++/14.2.1/bits/ranges_base.h:117:2:constexpr auto std::ranges::__access::_Begin::operator()(_Tp&&) const [with _Tp = std::basic_string_view&] 32 static +/usr/include/c++/14.2.1/bits/ranges_base.h:167:2:constexpr auto std::ranges::__access::_End::operator()(_Tp&&) const [with _Tp = std::basic_string_view&] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:546:2:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::_M_begin(_Iter, _Sent) [with _Iter = const char*; _Sent = const char*; _ToFormat = char32_t; _Range = std::basic_string_view] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:572:22:constexpr auto std::__unicode::_Utf_view<_ToFormat, _Range>::begin() [with _ToFormat = char32_t; _Range = std::basic_string_view] 64 static +/usr/include/c++/14.2.1/bits/unicode.h:734:22:constexpr auto std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::begin() const [with _View = std::basic_string_view] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:824:17:constexpr auto std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::end() const [with _View = std::basic_string_view] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:735:22:constexpr auto std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::end() const [with _View = std::basic_string_view] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:828:2:constexpr int std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::width() const [with _View = std::basic_string_view] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:821:17:constexpr auto std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::base() const [with _View = std::basic_string_view] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:968:5:constexpr std::size_t std::__unicode::__truncate(std::basic_string_view<_CharT>&, std::size_t) [with _CharT = char] 448 static +/usr/include/c++/14.2.1/bits/unicode.h:951:5:constexpr std::size_t std::__unicode::__field_width(std::basic_string_view<_CharT>) [with _CharT = char] 416 static +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = __int128; _CharT = char] 32 static +/usr/include/c++/14.2.1/format:1301:2:static std::to_chars_result std::__format::__formatter_int<_CharT>::to_chars(char*, char*, _Int, int) [with _Int = __int128 unsigned; _CharT = char] 64 static +/usr/include/c++/14.2.1/format:1197:2:static _CharT std::__format::__formatter_int<_CharT>::_S_to_character(_Int) [with _Int = __int128 unsigned; _CharT = char] 32 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __gnu_cxx::__normal_iterator >&] 32 static +/usr/include/c++/14.2.1/bits/ranges_algobase.h:220:5:constexpr std::__conditional_t<_IsMove, std::ranges::in_out_result<_Iter, _Out>, std::ranges::in_out_result<_Iter, _Out> > std::ranges::__copy_or_move(_Iter, _Sent, _Out) [with bool _IsMove = false; _Iter = __gnu_cxx::__normal_iterator >; _Sent = __gnu_cxx::__normal_iterator >; _Out = std::__format::_Sink_iter] 336 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::_Seq_sink<__cxx11::basic_string >::_M_reserve(std::size_t)::&] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:3772:5:constexpr bool std::operator==(const __cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*) [with _CharT = char; _Traits = char_traits; _Alloc = allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.h:1787:2:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _Tp&) [with _Tp = std::basic_string_view; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 176 static +/usr/include/c++/14.2.1/charconv:319:5:constexpr std::to_chars_result std::__to_chars_i(char*, char*, _Tp, int) [with _Tp = __int128 unsigned] 96 static +/usr/include/c++/14.2.1/string_view:321:7:constexpr std::basic_string_view<_CharT, _Traits>::size_type std::basic_string_view<_CharT, _Traits>::copy(_CharT*, size_type, size_type) const [with _CharT = char; _Traits = std::char_traits] 240 static +/usr/include/c++/14.2.1/bits/locale_facets.tcc:1290:5:_CharT* std::__add_grouping(_CharT*, _CharT, const char*, size_t, const _CharT*, const _CharT*) [with _CharT = char] 112 static +/usr/include/c++/14.2.1/format:3502:2:decltype(auto) std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t) [with _Visitor = std::__format::_WidthPrecVisitor; _Context = std::basic_format_context, char>] 80 static +/usr/include/c++/14.2.1/format:3568:5:decltype(auto) std::visit_format_arg(_Visitor&&, basic_format_arg<_Context>) [with _Visitor = __format::_WidthPrecVisitor; _Context = basic_format_context<__format::_Sink_iter, char>] 208 static +/usr/include/c++/14.2.1/format:3604:5:std::size_t std::__format::__int_from_arg(const std::basic_format_arg<_Context>&) [with _Context = std::basic_format_context<_Sink_iter, char>] 192 dynamic,bounded +/usr/include/c++/14.2.1/bits/basic_string.tcc:597:23:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation)::_Terminator::~_Terminator() [with _Operation = std::__format::__formatter_fp::format >(float, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:583:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation) [with _Operation = std::__format::__formatter_fp::format >(float, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/format:2692:7:constexpr void std::__format::_Sink<_CharT>::_M_write(_CharT) [with _CharT = char] 240 static +/usr/include/c++/14.2.1/bits/unicode.h:61:5:constexpr bool std::__unicode::__is_single_code_unit(char32_t) [with _CharT = char] 16 static +/usr/include/c++/14.2.1/bits/unicode.h:480:7:constexpr _Iter& std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_curr() [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:108:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_Utf_iterator(_Iter, _Iter, _Sent) requires bidirectional_iterator<_Iter> [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 64 static +/usr/include/c++/14.2.1/bits/basic_string.h:765:9:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = std::__unicode::_Utf_iterator; = void; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 384 dynamic,bounded +/usr/include/c++/14.2.1/bits/basic_string.tcc:597:23:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation)::_Terminator::~_Terminator() [with _Operation = std::__format::__formatter_fp::format >(double, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:583:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation) [with _Operation = std::__format::__formatter_fp::format >(double, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:597:23:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation)::_Terminator::~_Terminator() [with _Operation = std::__format::__formatter_fp::format >(long double, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:583:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation) [with _Operation = std::__format::__formatter_fp::format >(long double, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = basic_string_view&] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:570:7:constexpr std::__unicode::_Utf_view<_ToFormat, _Range>::_Utf_view(_Range&&) [with _ToFormat = char32_t; _Range = std::basic_string_view] 48 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = basic_string_view] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:730:7:constexpr std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Grapheme_cluster_view(_View) [with _View = std::basic_string_view] 368 dynamic,bounded +/usr/include/c++/14.2.1/bits/unicode.h:146:7:constexpr _Sent std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::end() const [with _FromFmt = char; _ToFmt = char32_t; _Iter = const char*; _Sent = const char*; _ErrorHandler = std::__unicode::_Repl] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:776:2:constexpr std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator& std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::operator++() [with _View = std::basic_string_view] 320 dynamic,bounded +/usr/include/c++/14.2.1/bits/unicode.h:817:2:constexpr bool std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::operator==(std::ranges::sentinel_t<_Range>&) const [with _View = std::basic_string_view] 96 dynamic,bounded +/usr/include/c++/14.2.1/bits/basic_string.tcc:597:23:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation)::_Terminator::~_Terminator() [with _Operation = std::__format::__formatter_fp::format<_Float128, std::__format::_Sink_iter >(_Float128, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:583:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation) [with _Operation = std::__format::__formatter_fp::format<_Float128, std::__format::_Sink_iter >(_Float128, std::basic_format_context, char>&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = char*&] 32 static +/usr/include/c++/14.2.1/bits/ranges_algobase.h:220:5:constexpr std::__conditional_t<_IsMove, std::ranges::in_out_result<_Iter, _Out>, std::ranges::in_out_result<_Iter, _Out> > std::ranges::__copy_or_move(_Iter, _Sent, _Out) [with bool _IsMove = false; _Iter = char*; _Sent = char*; _Out = std::__format::_Sink_iter] 272 static +/usr/include/c++/14.2.1/bits/move.h:71:5:constexpr _Tp&& std::forward(typename remove_reference<_Functor>::type&) [with _Tp = __format::_WidthPrecVisitor] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = std::monostate] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = bool] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = int] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = unsigned int] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = long long int] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = long long unsigned int] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = float] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = double] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = long double] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = const void*] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = __int128] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = __int128 unsigned] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = _Float128] 32 static +/usr/include/c++/14.2.1/bits/basic_string.h:1675:7:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/charconv:115:5:constexpr unsigned int std::__detail::__to_chars_len_2(_Tp) [with _Tp = __int128 unsigned] 32 static +/usr/include/c++/14.2.1/charconv:161:5:constexpr std::to_chars_result std::__detail::__to_chars_16(char*, char*, _Tp) [with _Tp = __int128 unsigned] 448 static +/usr/include/c++/14.2.1/bits/charconv.h:55:5:constexpr unsigned int std::__detail::__to_chars_len(_Tp, int) [with _Tp = __int128 unsigned] 256 static +/usr/include/c++/14.2.1/charconv:207:5:constexpr std::to_chars_result std::__detail::__to_chars_10(char*, char*, _Tp) [with _Tp = __int128 unsigned] 208 static +/usr/include/c++/14.2.1/charconv:230:5:constexpr std::to_chars_result std::__detail::__to_chars_8(char*, char*, _Tp) [with _Tp = __int128 unsigned] 272 static +/usr/include/c++/14.2.1/charconv:283:5:constexpr std::to_chars_result std::__detail::__to_chars_2(char*, char*, _Tp) [with _Tp = __int128 unsigned] 224 static +/usr/include/c++/14.2.1/charconv:121:5:constexpr std::to_chars_result std::__detail::__to_chars(char*, char*, _Tp, int) [with _Tp = __int128 unsigned] 576 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = char] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = const char*] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = std::basic_string_view] 32 static +/usr/include/c++/14.2.1/format:3580:7:std::size_t std::__format::_WidthPrecVisitor::operator()(_Tp&) const [with _Tp = std::basic_format_arg, char> >::handle] 32 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::__formatter_fp::format >(float, std::basic_format_context, char>&) const::&] 32 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:597:23:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation)::_Terminator::~_Terminator() [with _Operation = std::__format::__formatter_fp::_M_localize(std::basic_string_view, char, const std::locale&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:583:5:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::resize_and_overwrite(size_type, _Operation) [with _Operation = std::__format::__formatter_fp::_M_localize(std::basic_string_view, char, const std::locale&) const::&; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 208 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1108:7:constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container> __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++(int) [with _Iterator = char*; _Container = std::span] 224 static +/usr/include/c++/14.2.1/bits/stl_iterator.h:1090:7:constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container>::reference __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*() const [with _Iterator = char*; _Container = std::span] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:509:4:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_First_and_curr<_It>::_First_and_curr(_It, _It) [with _It = const char32_t*; _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:231:7:constexpr void std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_read() [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 32 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:188:13:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::input_iterator_tag)::_Guard::_Guard(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>*) [with _InIterator = std::__unicode::_Utf_iterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 32 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:191:4:constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::input_iterator_tag)::_Guard::~_Guard() [with _InIterator = std::__unicode::_Utf_iterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 48 static +/usr/include/c++/14.2.1/bits/basic_string.tcc:170:7:constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::input_iterator_tag) [with _InIterator = std::__unicode::_Utf_iterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator] 512 dynamic,bounded +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::__formatter_fp::format >(double, std::basic_format_context, char>&) const::&] 32 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::__formatter_fp::format >(long double, std::basic_format_context, char>&) const::&] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:654:10:constexpr std::__unicode::__v15_1_0::_Grapheme_cluster_iterator_base::_Grapheme_cluster_iterator_base() 32 static +/usr/include/c++/14.2.1/bits/unicode.h:755:2:constexpr std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::_Iterator(_U32_iterator) [with _View = std::basic_string_view] 288 dynamic,bounded +/usr/include/c++/14.2.1/bits/unicode.h:220:7:constexpr bool std::__unicode::operator==(_Utf_iterator, const char*) 224 static +/usr/include/c++/14.2.1/bits/unicode.h:840:2:constexpr bool std::__unicode::__v15_1_0::_Grapheme_cluster_view<_View>::_Iterator::_M_is_break(std::__unicode::__v15_1_0::_Gcb_property, std::__unicode::__v15_1_0::_Gcb_property, _U32_iterator) const [with _View = std::basic_string_view] 416 dynamic,bounded +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::__formatter_fp::format<_Float128, std::__format::_Sink_iter >(_Float128, std::basic_format_context, char>&) const::&] 32 static +/usr/include/c++/14.2.1/bit:371:5:constexpr int std::__bit_width(_Tp) [with _Tp = __int128 unsigned] 64 static +/usr/include/c++/14.2.1/bits/charconv.h:81:5:constexpr void std::__detail::__to_chars_10_impl(char*, unsigned int, _Tp) [with _Tp = __int128 unsigned] 640 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = __format::__formatter_fp::_M_localize(std::basic_string_view, char, const std::locale&) const::&] 32 static +/usr/include/c++/14.2.1/bits/unicode.h:392:7:constexpr void std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_read_utf32() [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 208 static +/usr/include/c++/14.2.1/bits/unicode.h:202:7:constexpr bool std::__unicode::operator==(_Utf_iterator, _Utf_iterator) requires (forward_iterator<_Iter>) || requires(_Iter __i) {__i != __i;} 304 static +/usr/include/c++/14.2.1/bits/unicode.h:155:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::value_type std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::operator*() const [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:158:7:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>& std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::operator++() [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 80 static +/usr/include/c++/14.2.1/bits/unicode.h:202:7:constexpr bool std::__unicode::operator==(_Utf_iterator, _Utf_iterator) requires (forward_iterator<_Iter>) || requires(_Iter __i) {__i != __i;} 304 static +/usr/include/c++/14.2.1/bit:201:5:constexpr int std::__countl_zero(_Tp) [with _Tp = __int128 unsigned] 96 static +/usr/include/c++/14.2.1/bits/unicode.h:256:14:constexpr std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_Guard<_It>::~_Guard() [with _It = const char32_t*; _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 48 static +/usr/include/c++/14.2.1/bits/unicode.h:468:7:constexpr char32_t std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_S_error() [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 176 static +/usr/include/c++/14.2.1/bits/unicode.h:403:7:constexpr void std::__unicode::_Utf_iterator<_FromFmt, _ToFmt, _Iter, _Sent, _ErrorHandler>::_M_update(char32_t, uint8_t) [with _FromFmt = char32_t; _ToFmt = char; _Iter = const char32_t*; _Sent = const char32_t*; _ErrorHandler = std::__unicode::_Repl] 64 static +/usr/include/c++/14.2.1/array:214:7:constexpr const std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) const [with _Tp = char; long unsigned int _Nm = 4] 32 static +/usr/include/c++/14.2.1/bits/move.h:137:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = const char32_t*&] 32 static +/usr/include/c++/14.2.1/bit:459:5:constexpr int std::bit_width(_Tp) [with _Tp = unsigned int] 32 static +/usr/include/c++/14.2.1/array:206:7:constexpr std::array<_Tp, _Nm>::value_type& std::array<_Tp, _Nm>::operator[](size_type) [with _Tp = char; long unsigned int _Nm = 4] 48 static +f.cc:178:1:_sub_D_00099_0 16 static +f.cc:178:1:_sub_I_00099_1 16 static diff --git a/codeforces/1016/f.in b/codeforces/1016/f.in new file mode 100644 index 0000000..35d5ad9 --- /dev/null +++ b/codeforces/1016/f.in @@ -0,0 +1,13 @@ +6 +5 0 +1 2 3 4 5 +5 7 +1 2 3 4 5 +5 8 +1 2 3 4 5 +5 7 +3 5 1 4 2 +5 3 +3 5 1 4 2 +6 71 +26 56 12 45 60 27 diff --git a/codeforces/799/.clang-format b/codeforces/799/.clang-format new file mode 100644 index 0000000..e7350c4 --- /dev/null +++ b/codeforces/799/.clang-format @@ -0,0 +1,9 @@ +BasedOnStyle: Google +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortCompoundRequirementOnASingleLine: false +AllowShortEnumsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLambdasOnASingleLine: false +AllowShortLoopsOnASingleLine: false diff --git a/codeforces/799/.clangd b/codeforces/799/.clangd new file mode 100644 index 0000000..d1d0413 --- /dev/null +++ b/codeforces/799/.clangd @@ -0,0 +1,23 @@ +CompileFlags: + Add: + - -Wall + - -Wextra + - -Wshadow + - -Wnon-virtual-dtor + - -Wold-style-cast + - -Wcast-align + - -Wunused + - -Woverloaded-virtual + - -Wpedantic + - -Wmisleading-indentation + - -Wduplicated-cond + - -Wduplicated-branches + - -Wlogical-op + - -Wnull-dereference + - -Wuseless-cast + - -Wformat=2 + - -Wformat-overflow + - -Wformat-truncation + - -Wdouble-promotion + - -DLOCAL + - -Wno-unknown-pragmas \ No newline at end of file diff --git a/codeforces/799/a.cc b/codeforces/799/a.cc new file mode 100644 index 0000000..3b36755 --- /dev/null +++ b/codeforces/799/a.cc @@ -0,0 +1,41 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +void solve() { + int a, b, c, d; + cin >> a >> b >> c >> d; + cout << (b > a) + (c > a) + (d > a) << '\n'; +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/a.in b/codeforces/799/a.in new file mode 100644 index 0000000..4fdb259 --- /dev/null +++ b/codeforces/799/a.in @@ -0,0 +1,6 @@ +4 +2 3 4 1 +10000 0 1 2 +500 600 400 300 +0 9999 10000 9998 + diff --git a/codeforces/799/b.cc b/codeforces/799/b.cc new file mode 100644 index 0000000..f47ce3c --- /dev/null +++ b/codeforces/799/b.cc @@ -0,0 +1,54 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +bitset<10000 + 1> seen; +void solve() { + seen.reset(); + int n; + cin >> n; + int a, dups = 0; + for (int i = 0; i < n; ++i) { + cin >> a; + if (seen[a]) { + ++dups; + } else { + seen[a] = true; + } + } + + int unique = n - dups; + cout << (dups & 1 ? unique - 1 : unique) << '\n'; +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/b.in b/codeforces/799/b.in new file mode 100644 index 0000000..888e289 --- /dev/null +++ b/codeforces/799/b.in @@ -0,0 +1,9 @@ +4 +6 +2 2 2 3 3 3 +5 +9 1 9 9 1 +4 +15 16 16 15 +4 +10 100 1000 10000 diff --git a/codeforces/799/c.cc b/codeforces/799/c.cc new file mode 100644 index 0000000..9913668 --- /dev/null +++ b/codeforces/799/c.cc @@ -0,0 +1,52 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +void solve() { + vector board(8); + for (auto& s : board) + cin >> s; + + for (int r = 1; r <= 6; ++r) { + for (int c = 1; c <= 6; ++c) { + if (board[r][c] == '#' && board[r - 1][c - 1] == '#' && + board[r + 1][c + 1] == '#' && board[r - 1][c + 1] == '#' && + board[r + 1][c - 1] == '#') { + cout << r + 1 << ' ' << c + 1 << '\n'; + return; + } + } + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/c.in b/codeforces/799/c.in new file mode 100644 index 0000000..3d6f696 --- /dev/null +++ b/codeforces/799/c.in @@ -0,0 +1,31 @@ +3 + + +.....#.. +#...#... +.#.#.... +..#..... +.#.#.... +#...#... +.....#.. +......#. + + +#.#..... +.#...... +#.#..... +...#.... +....#... +.....#.. +......#. +.......# + + +.#.....# +..#...#. +...#.#.. +....#... +...#.#.. +..#...#. +.#.....# +#....... diff --git a/codeforces/799/compile_flags.txt b/codeforces/799/compile_flags.txt new file mode 100644 index 0000000..559f9a4 --- /dev/null +++ b/codeforces/799/compile_flags.txt @@ -0,0 +1,21 @@ +-Wall +-Wextra +-Wshadow +-Wnon-virtual-dtor +-Wold-style-cast +-Wcast-align +-Wunused +-Woverloaded-virtual +-Wpedantic +-Wmisleading-indentation +-Wduplicated-cond +-Wduplicated-branches +-Wlogical-op +-Wnull-dereference +-Wuseless-cast +-Wformat=2 +-Wformat-overflow +-Wformat-truncation +-Wdouble-promotion +-DLOCAL +-std=c++23 diff --git a/codeforces/799/d.cc b/codeforces/799/d.cc new file mode 100644 index 0000000..bf23ac1 --- /dev/null +++ b/codeforces/799/d.cc @@ -0,0 +1,74 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +bitset<1441> seen; +void solve() { + string s; + int x; + cin >> s >> x; + int start = stoi(s.substr(0, 2)) * 60 + stoi(s.substr(3, 2)); + seen.reset(); + int ans = 0; + auto is_palindrome = [&](string const& S) { + int l = 0, r = S.size() - 1; + + while (l < r) { + if (S[l++] != S[r--]) + return false; + } + + return true; + }; + auto mutate = [&](int time) { + int hour = time / 60; + string hour_part = to_string(hour); + if (hour_part.size() == 1) + hour_part = "0" + hour_part; + int minute = time % 60; + string minute_part = to_string(minute); + if (minute_part.size() == 1) + minute_part = "0" + minute_part; + return hour_part + ":" + minute_part; + }; + while (!seen[start]) { + if (is_palindrome(s)) + ++ans; + seen[start] = true; + start = (start + x) % 1440; + s = mutate(start); + } + cout << ans << '\n'; +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/d.in b/codeforces/799/d.in new file mode 100644 index 0000000..6bf69ad --- /dev/null +++ b/codeforces/799/d.in @@ -0,0 +1,7 @@ +6 +03:12 360 +00:00 1 +13:22 2 +15:15 10 +11:11 1440 +22:30 27 diff --git a/codeforces/799/e.cc b/codeforces/799/e.cc new file mode 100644 index 0000000..a81843a --- /dev/null +++ b/codeforces/799/e.cc @@ -0,0 +1,72 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +void solve() { + int n, s; + cin >> n >> s; + vector a(n); + int total = 0; + for (auto& e : a) { + cin >> e; + total += e; + } + if (total < s) { + cout << -1 << '\n'; + return; + } + + int r = n - 1; + int cur = 0; + while (cur != total - s) { + cur += a[r] == 1; + --r; + } + ++r; + int ans = n - r; + for (int l = 0; l < n; ++l) { + if (a[l] == 0) { + continue; + } + // NOTE: while loop instead of maintaing invariant + ++r; + while (r < n && a[r] == 0) { + ++r; + } + ans = min(ans, l + 1 + n - r); + } + + cout << ans << '\n'; +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/e.in b/codeforces/799/e.in new file mode 100644 index 0000000..555d9ea --- /dev/null +++ b/codeforces/799/e.in @@ -0,0 +1,15 @@ +7 +3 1 +1 0 0 +3 1 +1 1 0 +9 3 +0 1 0 1 1 1 0 0 1 +6 4 +1 1 1 1 1 1 +5 1 +0 0 1 1 0 +16 2 +1 1 0 0 1 0 0 1 1 0 0 0 0 0 1 1 +6 3 +1 0 1 0 0 0 diff --git a/codeforces/799/f.cc b/codeforces/799/f.cc new file mode 100644 index 0000000..e65789f --- /dev/null +++ b/codeforces/799/f.cc @@ -0,0 +1,70 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +void solve() { + int n; + cin >> n; + vector a(n); + vector f(10, 0); + for (auto& e : a) + cin >> e; + + for (int i = 0; i < n; ++i) { + ++f[a[i] % 10]; + } + // NOTE: missed n - 2, did just < n + // NOTE: also, removed f[digit] after, causing a[i] % 10 to be + // included in f erroneously + for (int i = 0; i < n - 2; ++i) { + int digit = a[i] % 10; + --f[digit]; + + for (int l = 0; l <= 9; ++l) { + for (int r = 0; r <= 9; ++r) { + if ((l + r + digit) % 10 == 3) { + // NOTE: forgot l != r condition + // simplify conditions + if ((l == r && f[l] >= 2) || (l != r && f[l] >= 1 && f[r] >= 1)) { + cout << "YES\n"; + return; + } + } + } + } + } + + cout << "NO\n"; +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/f.in b/codeforces/799/f.in new file mode 100644 index 0000000..82fbed0 --- /dev/null +++ b/codeforces/799/f.in @@ -0,0 +1,13 @@ +6 +4 +20 22 19 84 +4 +1 11 1 2022 +4 +1100 1100 1100 1111 +5 +12 34 56 78 90 +4 +1 9 8 4 +6 +16 38 94 25 18 99 diff --git a/codeforces/799/g.cc b/codeforces/799/g.cc new file mode 100644 index 0000000..dce608c --- /dev/null +++ b/codeforces/799/g.cc @@ -0,0 +1,73 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif +// }}} + +void solve() { + int n, k; + cin >> n >> k; + vector a(n); + for (auto& e : a) { + cin >> e; + } + vector can(n, 0); + for (int i = 0; i < n - 1; ++i) { + can[i] = a[i] / 2.0 < a[i + 1]; + } + int ans = 0, window = 0; + // had <= , not < k - 1, then had it wrong AGAIN + // NOTE: sliding window impl bad - just decide on one approach and go with it + for (int i = 0; i < n - 1; ++i) { + window += can[i]; + if (i >= k - 1) { + if (window == k) { + ++ans; + } + window -= can[i - k + 1]; + } + } + // for (int i = 0; i < n - 1; ++i) { + // can[i] = (i ? can[i - 1] : 0) + (a[i] / 2.0 < a[i + 1]); + // } + // int ans = 0; + // for (int i = k - 1; i < n - 1; ++i) { + // // cout << "i: " << i << endl; + // // NOTE: i - k - 1 before (wrong) + // if (can[i] - (i - k >= 0 ? can[i - k] : 0) == k) { + // // cout << "yes\n"; + // ++ans; + // } + // } + cout << ans << '\n'; +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int tc = 1; + cin >> tc; + + for (int t = 0; t < tc; ++t) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/799/g.in b/codeforces/799/g.in new file mode 100644 index 0000000..54d0b0d --- /dev/null +++ b/codeforces/799/g.in @@ -0,0 +1,13 @@ +6 +4 2 +20 22 19 84 +5 1 +9 5 3 2 1 +5 2 +9 5 3 2 1 +7 2 +22 12 16 4 3 22 12 +7 3 +22 12 16 4 3 22 12 +9 3 +3 9 12 3 9 12 3 9 12 diff --git a/codeforces/849/.clang-format b/codeforces/849/.clang-format new file mode 100644 index 0000000..e7350c4 --- /dev/null +++ b/codeforces/849/.clang-format @@ -0,0 +1,9 @@ +BasedOnStyle: Google +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortCompoundRequirementOnASingleLine: false +AllowShortEnumsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLambdasOnASingleLine: false +AllowShortLoopsOnASingleLine: false diff --git a/codeforces/849/.clangd b/codeforces/849/.clangd new file mode 100644 index 0000000..d1d0413 --- /dev/null +++ b/codeforces/849/.clangd @@ -0,0 +1,23 @@ +CompileFlags: + Add: + - -Wall + - -Wextra + - -Wshadow + - -Wnon-virtual-dtor + - -Wold-style-cast + - -Wcast-align + - -Wunused + - -Woverloaded-virtual + - -Wpedantic + - -Wmisleading-indentation + - -Wduplicated-cond + - -Wduplicated-branches + - -Wlogical-op + - -Wnull-dereference + - -Wuseless-cast + - -Wformat=2 + - -Wformat-overflow + - -Wformat-truncation + - -Wdouble-promotion + - -DLOCAL + - -Wno-unknown-pragmas \ No newline at end of file diff --git a/codeforces/849/a.cc b/codeforces/849/a.cc new file mode 100644 index 0000000..3a45a18 --- /dev/null +++ b/codeforces/849/a.cc @@ -0,0 +1,91 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template [[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template [[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template [[nodiscard]] static T sc(auto &&x) { + return static_cast(x); +} + +template [[nodiscard]] static T sz(auto &&x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { prln("NO"); } + +inline static void YES() { prln("YES"); } + +using ll = long long; +using ld = long double; +template using ve = std::vector; +template using ar = std::array; +template using pa = std::pair; +template using tu = std::tuple; +template using dq = std::deque; +template using qu = std::queue; +template using pq = std::priority_queue; +template using st = std::stack; +auto lb = [](auto... args) { return std::lower_bound(args...); }; +auto ub = [](auto... args) { return std::upper_bound(args...); }; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +unordered_map m; +void solve() { + char c; + cin >> c; + + if (m.find(c) == m.end()) { + NO(); + } else { + YES(); + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + for (auto c : "codeforces") { + ++m[c]; + } + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/a.in b/codeforces/849/a.in new file mode 100644 index 0000000..9d71f59 --- /dev/null +++ b/codeforces/849/a.in @@ -0,0 +1,11 @@ +10 +a +b +c +d +e +f +g +h +i +j diff --git a/codeforces/849/b.cc b/codeforces/849/b.cc new file mode 100644 index 0000000..67354c0 --- /dev/null +++ b/codeforces/849/b.cc @@ -0,0 +1,120 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n; + cin >> n; + char c; + int x = 0, y = 0; + bool ans = false; + for (int i = 0; i < n; ++i) { + cin >> c; + if (c == 'L') { + --x; + } else if (c == 'R') { + ++x; + } else if (c == 'U') { + ++y; + } else { + --y; + } + + if (x == 1 && y == 1) { + ans |= 1; + } + } + ans ? YES() : NO(); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/b.in b/codeforces/849/b.in new file mode 100644 index 0000000..68364b7 --- /dev/null +++ b/codeforces/849/b.in @@ -0,0 +1,16 @@ +7 +7 +UUURDDL +2 +UR +8 +RRRUUDDD +3 +LLL +4 +DUUR +5 +RUDLL +11 +LLLLDDRUDRD + diff --git a/codeforces/849/c.cc b/codeforces/849/c.cc new file mode 100644 index 0000000..fbe06d1 --- /dev/null +++ b/codeforces/849/c.cc @@ -0,0 +1,114 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n; + cin >> n; + string s; + cin >> s; + int l = 0, r = n - 1; + int ans = 0; + while (l < r) { + if (((s[l] - '0') ^ (s[r] - '0')) == 1) { + ++ans; + ++l; + --r; + } else { + break; + } + } + prln("{}", n - 2 * ans); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/c.in b/codeforces/849/c.in new file mode 100644 index 0000000..b07910f --- /dev/null +++ b/codeforces/849/c.in @@ -0,0 +1,19 @@ +9 +3 +100 +4 +0111 +5 +10101 +6 +101010 +7 +1010110 +1 +1 +2 +10 +2 +11 +10 +1011011010 diff --git a/codeforces/849/compile_flags.txt b/codeforces/849/compile_flags.txt new file mode 100644 index 0000000..559f9a4 --- /dev/null +++ b/codeforces/849/compile_flags.txt @@ -0,0 +1,21 @@ +-Wall +-Wextra +-Wshadow +-Wnon-virtual-dtor +-Wold-style-cast +-Wcast-align +-Wunused +-Woverloaded-virtual +-Wpedantic +-Wmisleading-indentation +-Wduplicated-cond +-Wduplicated-branches +-Wlogical-op +-Wnull-dereference +-Wuseless-cast +-Wformat=2 +-Wformat-overflow +-Wformat-truncation +-Wdouble-promotion +-DLOCAL +-std=c++23 diff --git a/codeforces/849/d.cc b/codeforces/849/d.cc new file mode 100644 index 0000000..2c738a3 --- /dev/null +++ b/codeforces/849/d.cc @@ -0,0 +1,120 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n; + cin >> n; + string s; + cin >> s; + int L = 1, R = 0; + unordered_map fl, fr; + ++fl[s[0]]; + for (int i = n - 1; i >= 1; --i) { + if (++fr[s[i]] == 1) + ++R; + } + int ans = 1; + for (int i = 1; i < n; ++i) { + ans = max(ans, L + R); + if (++fl[s[i]] == 1) { + ++L; + } + if (--fr[s[i]] == 0) { + --R; + } + } + prln("{}", ans); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/d.in b/codeforces/849/d.in new file mode 100644 index 0000000..c9b5078 --- /dev/null +++ b/codeforces/849/d.in @@ -0,0 +1,12 @@ +5 +2 +aa +7 +abcabcd +5 +aaaaa +10 +paiumoment +4 +aazz + diff --git a/codeforces/849/e.cc b/codeforces/849/e.cc new file mode 100644 index 0000000..58d7c58 --- /dev/null +++ b/codeforces/849/e.cc @@ -0,0 +1,119 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + // NOTE: missed adjacent - realy? bang head against wall + int n; + cin >> n; + ve a(n); + ll ans = 0; + int odds = 0; + for (int i = 0; i < n; ++i) { + cin >> a[i]; + ans += abs(a[i]); + if (a[i] <= 0) { + ++odds; + a[i] *= -1; + } + } + + if (odds % 2 == 0) { + prln("{}", ans); + } else { + sort(all(a)); + prln("{}", ans - 2 * a[0]); + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/e.in b/codeforces/849/e.in new file mode 100644 index 0000000..ce792ae --- /dev/null +++ b/codeforces/849/e.in @@ -0,0 +1,11 @@ +5 +3 +-1 -1 -1 +5 +1 5 -5 0 2 +3 +1 2 3 +6 +-1 10 9 8 7 6 +4 +-1 0 -1 0 diff --git a/codeforces/849/f.cc b/codeforces/849/f.cc new file mode 100644 index 0000000..27c05e2 --- /dev/null +++ b/codeforces/849/f.cc @@ -0,0 +1,135 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n, q; + cin >> n >> q; + ve a(n), dsum(n); + for (int i = 0; i < n; ++i) { + cin >> a[i]; + int x = a[i]; + while (x > 0) { + dsum[i] += x % 10; + x /= 10; + } + } + char cmd; + int l, r, x; + set> s; + while (q--) { + cin >> cmd; + if (cmd == '2') { + cin >> x; + // NOTE: struggled with bounds here + auto it = s.lower_bound({x, 0}); + if (it != s.begin()) + --it; + if (it != s.end() && it->first <= x && it->second >= x) + prln("{}", dsum[x - 1]); + else + prln("{}", x, a[x - 1]); + } else { + cin >> l >> r; + auto it = s.lower_bound({l, r}); + if (it != s.end() && r >= it->first) { + l = min(l, it->first); + r = max(r, it->second); + s.erase(it); + } + s.emplace(l, r); + } + } +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/f.in b/codeforces/849/f.in new file mode 100644 index 0000000..e5b8ab3 --- /dev/null +++ b/codeforces/849/f.in @@ -0,0 +1,19 @@ +3 +5 8 +1 420 69 1434 2023 +1 2 3 +2 2 +2 3 +2 4 +1 2 5 +2 1 +2 3 +2 5 +2 3 +9999 1000 +1 1 2 +2 1 +2 2 +1 1 +1 +2 1 diff --git a/codeforces/849/g.cc b/codeforces/849/g.cc new file mode 100644 index 0000000..206700e --- /dev/null +++ b/codeforces/849/g.cc @@ -0,0 +1,119 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n; + ll c; + cin >> n >> c; + priority_queue pq; + int x; + for (int i = 0; i < n; ++i) { + cin >> x; + pq.push(-x - i - 1); + } + // NOTE lost focus, missed fact that portals cost differently + + ll ans = 0; + while (!pq.empty()) { + auto z = -pq.top(); + if (z > c) + break; + pq.pop(); + c -= z; + ++ans; + } + prln("{}", ans); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/g.in b/codeforces/849/g.in new file mode 100644 index 0000000..a76b8f7 --- /dev/null +++ b/codeforces/849/g.in @@ -0,0 +1,21 @@ +10 +5 6 +1 1 1 1 1 +8 32 +100 52 13 6 9 4 100 35 +1 1 +5 +4 5 +4 3 2 1 +5 9 +2 3 1 4 1 +5 8 +2 3 1 4 1 +4 3 +2 3 4 1 +4 9 +5 4 3 3 +2 14 +7 5 +5 600000000 +500000000 400000000 300000000 200000000 100000000 diff --git a/codeforces/849/h.cc b/codeforces/849/h.cc new file mode 100644 index 0000000..ded6e3d --- /dev/null +++ b/codeforces/849/h.cc @@ -0,0 +1,121 @@ +#include // {{{ + +// https://codeforces.com/blog/entry/96344 + +#pragma GCC optimize("O2,unroll-loops") +#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") + +using namespace std; + +template +[[nodiscard]] static T MIN() { + return std::numeric_limits::min(); +} + +template +[[nodiscard]] static T MAX() { + return std::numeric_limits::max(); +} + +template +[[nodiscard]] static T sc(auto&& x) { + return static_cast(x); +} + +template +[[nodiscard]] static T sz(auto&& x) { + return static_cast(x.size()); +} + +#define prln(...) std::println(__VA_ARGS__) +#define pr(...) std::print(__VA_ARGS__) + +#ifdef LOCAL +#define dbgln(...) std::println(__VA_ARGS__) +#define dbg(...) std::print(__VA_ARGS__) +#else +#define dbgln(...) +#define dbg(...) +#endif + +inline static void NO() { + prln("NO"); +} + +inline static void YES() { + prln("YES"); +} + +using ll = long long; +using ld = long double; +template +using ve = std::vector; +template +using ar = std::array; +template +using pa = std::pair; +template +using tu = std::tuple; +template +using dq = std::deque; +template +using qu = std::queue; +template +using pq = std::priority_queue; +template +using st = std::stack; +auto lb = [](auto... args) { + return std::lower_bound(args...); +}; +auto ub = [](auto... args) { + return std::upper_bound(args...); +}; + +#define ff first +#define ss second +#define eb emplace_back +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +// }}} + +void solve() { + int n; + ll c; + cin >> n >> c; + ve a(n); + ve> best; + for (int i = 0; i < n; ++i) { + cin >> a[i]; + best.eb(i + 1 + a[i], n + 1 - i + a[i]); + } + sort(all(best), [](auto const& x, auto const& y) { + return x.ff > y.ff || x.ss > y.ss; + }); + + ll ans = 0; + for (int i = 0; i < n; ++i) { + if (min(best[i].ff, best[i].ss) > c) { + break; + } + c -= min(best[i].ff, best[i].ss); + ++ans; + } + + prln("{}", ans); +} + +int main() { // {{{ + cin.tie(nullptr)->sync_with_stdio(false); + cin.exceptions(cin.failbit); + + int t = 1; + cin >> t; + + while (t--) { + solve(); + } + + return 0; +} +// }}} diff --git a/codeforces/849/h.in b/codeforces/849/h.in new file mode 100644 index 0000000..1389156 --- /dev/null +++ b/codeforces/849/h.in @@ -0,0 +1,22 @@ +10 +5 6 +1 1 1 1 1 +8 32 +100 52 13 6 9 4 100 35 +1 1 +5 +4 5 +4 3 2 1 +5 9 +2 3 1 4 1 +5 8 +2 3 1 4 1 +4 3 +2 3 4 1 +4 9 +5 4 3 3 +2 14 +7 5 +5 600000000 +500000000 400000000 300000000 200000000 100000000 +