Hashiryo's Library

This documentation is automatically generated by competitive-verifier/competitive-verifier

View the Project on GitHub hashiryo/Library

:heavy_check_mark: test/yosupo/sum_of_totient_function.mul_sum.test.cpp

Depends on

Code

// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/sum_of_totient_function
// competitive-verifier: TLE 0.5
// competitive-verifier: MLE 64
// O(N^(3/4)/log N)
#include <iostream>
#include "src/Math/ModInt.hpp"
#include "src/NumberTheory/sum_on_primes.hpp"
using namespace std;
signed main() {
 cin.tie(0);
 ios::sync_with_stdio(false);
 using Mint= ModInt<998244353>;
 long long N;
 cin >> N;
 auto Ps= sums_of_powers_on_primes<Mint>(N, 1);
 auto f= [](long long p, short e) { return Mint(p).pow(e - 1) * (p - 1); };
 cout << multiplicative_sum(Ps[1] - Ps[0], f) << '\n';
 return 0;
}
#line 1 "test/yosupo/sum_of_totient_function.mul_sum.test.cpp"
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/sum_of_totient_function
// competitive-verifier: TLE 0.5
// competitive-verifier: MLE 64
// O(N^(3/4)/log N)
#include <iostream>
#line 2 "src/Math/mod_inv.hpp"
#include <utility>
#include <type_traits>
#include <cassert>
template <class Uint> constexpr inline Uint mod_inv(Uint a, Uint mod) {
 std::make_signed_t<Uint> x= 1, y= 0, z= 0;
 for (Uint q= 0, b= mod, c= 0; b;) z= x, x= y, y= z - y * (q= a / b), c= a, a= b, b= c - b * q;
 return assert(a == 1), x < 0 ? mod - (-x) % mod : x % mod;
}
#line 2 "src/Internal/Remainder.hpp"
namespace math_internal {
using namespace std;
using u8= unsigned char;
using u32= unsigned;
using i64= long long;
using u64= unsigned long long;
using u128= __uint128_t;
struct MP_Na {  // mod < 2^32
 u32 mod;
 constexpr MP_Na(): mod(0) {}
 constexpr MP_Na(u32 m): mod(m) {}
 constexpr inline u32 mul(u32 l, u32 r) const { return u64(l) * r % mod; }
 constexpr inline u32 set(u32 n) const { return n; }
 constexpr inline u32 get(u32 n) const { return n; }
 constexpr inline u32 norm(u32 n) const { return n; }
 constexpr inline u32 plus(u64 l, u32 r) const { return l+= r, l < mod ? l : l - mod; }
 constexpr inline u32 diff(u64 l, u32 r) const { return l-= r, l >> 63 ? l + mod : l; }
};
template <class u_t, class du_t, u8 B> struct MP_Mo {  // mod < 2^32, mod < 2^62
 u_t mod;
 constexpr MP_Mo(): mod(0), iv(0), r2(0) {}
 constexpr MP_Mo(u_t m): mod(m), iv(inv(m)), r2(-du_t(mod) % mod) {}
 constexpr inline u_t mul(u_t l, u_t r) const { return reduce(du_t(l) * r); }
 constexpr inline u_t set(u_t n) const { return mul(n, r2); }
 constexpr inline u_t get(u_t n) const { return n= reduce(n), n >= mod ? n - mod : n; }
 constexpr inline u_t norm(u_t n) const { return n >= mod ? n - mod : n; }
 constexpr inline u_t plus(u_t l, u_t r) const { return l+= r, l < (mod << 1) ? l : l - (mod << 1); }
 constexpr inline u_t diff(u_t l, u_t r) const { return l-= r, l >> (B - 1) ? l + (mod << 1) : l; }
private:
 u_t iv, r2;
 static constexpr u_t inv(u_t n, int e= 6, u_t x= 1) { return e ? inv(n, e - 1, x * (2 - x * n)) : x; }
 constexpr inline u_t reduce(const du_t &w) const { return u_t(w >> B) + mod - ((du_t(u_t(w) * iv) * mod) >> B); }
};
using MP_Mo32= MP_Mo<u32, u64, 32>;
using MP_Mo64= MP_Mo<u64, u128, 64>;
struct MP_Br {  // 2^20 < mod <= 2^41
 u64 mod;
 constexpr MP_Br(): mod(0), x(0) {}
 constexpr MP_Br(u64 m): mod(m), x((u128(1) << 84) / m) {}
 constexpr inline u64 mul(u64 l, u64 r) const { return rem(u128(l) * r); }
 static constexpr inline u64 set(u64 n) { return n; }
 constexpr inline u64 get(u64 n) const { return n >= mod ? n - mod : n; }
 constexpr inline u64 norm(u64 n) const { return n >= mod ? n - mod : n; }
 constexpr inline u64 plus(u64 l, u64 r) const { return l+= r, l < (mod << 1) ? l : l - (mod << 1); }
 constexpr inline u64 diff(u64 l, u64 r) const { return l-= r, l >> 63 ? l + (mod << 1) : l; }
private:
 u64 x;
 constexpr inline u128 quo(const u128 &n) const { return (n * x) >> 84; }
 constexpr inline u64 rem(const u128 &n) const { return n - quo(n) * mod; }
};
template <class du_t, u8 B> struct MP_D2B1 {  // mod < 2^63, mod < 2^64
 u64 mod;
 constexpr MP_D2B1(): mod(0), s(0), d(0), v(0) {}
 constexpr MP_D2B1(u64 m): mod(m), s(__builtin_clzll(m)), d(m << s), v(u128(-1) / d) {}
 constexpr inline u64 mul(u64 l, u64 r) const { return rem((u128(l) * r) << s) >> s; }
 constexpr inline u64 set(u64 n) const { return n; }
 constexpr inline u64 get(u64 n) const { return n; }
 constexpr inline u64 norm(u64 n) const { return n; }
 constexpr inline u64 plus(du_t l, u64 r) const { return l+= r, l < mod ? l : l - mod; }
 constexpr inline u64 diff(du_t l, u64 r) const { return l-= r, l >> B ? l + mod : l; }
private:
 u8 s;
 u64 d, v;
 constexpr inline u64 rem(const u128 &u) const {
  u128 q= (u >> 64) * v + u;
  u64 r= u64(u) - (q >> 64) * d - d;
  if (r > u64(q)) r+= d;
  if (r >= d) r-= d;
  return r;
 }
};
using MP_D2B1_1= MP_D2B1<u64, 63>;
using MP_D2B1_2= MP_D2B1<u128, 127>;
template <class u_t, class MP> constexpr u_t pow(u_t x, u64 k, const MP &md) {
 for (u_t ret= md.set(1);; x= md.mul(x, x))
  if (k & 1 ? ret= md.mul(ret, x) : 0; !(k>>= 1)) return ret;
}
}
#line 3 "src/Internal/modint_traits.hpp"
namespace math_internal {
struct m_b {};
struct s_b: m_b {};
}
template <class mod_t> constexpr bool is_modint_v= std::is_base_of_v<math_internal::m_b, mod_t>;
template <class mod_t> constexpr bool is_staticmodint_v= std::is_base_of_v<math_internal::s_b, mod_t>;
#line 6 "src/Math/ModInt.hpp"
namespace math_internal {
template <class MP, u64 MOD> struct SB: s_b {
protected:
 static constexpr MP md= MP(MOD);
};
template <class U, class B> struct MInt: public B {
 using Uint= U;
 static constexpr inline auto mod() { return B::md.mod; }
 constexpr MInt(): x(0) {}
 template <class T, typename= enable_if_t<is_modint_v<T> && !is_same_v<T, MInt>>> constexpr MInt(T v): x(B::md.set(v.val() % B::md.mod)) {}
 constexpr MInt(__int128_t n): x(B::md.set((n < 0 ? ((n= (-n) % B::md.mod) ? B::md.mod - n : n) : n % B::md.mod))) {}
 constexpr MInt operator-() const { return MInt() - *this; }
#define FUNC(name, op) \
 constexpr MInt name const { \
  MInt ret; \
  return ret.x= op, ret; \
 }
 FUNC(operator+(const MInt & r), B::md.plus(x, r.x))
 FUNC(operator-(const MInt & r), B::md.diff(x, r.x))
 FUNC(operator*(const MInt & r), B::md.mul(x, r.x))
 FUNC(pow(u64 k), math_internal::pow(x, k, B::md))
#undef FUNC
 constexpr MInt operator/(const MInt &r) const { return *this * r.inv(); }
 constexpr MInt &operator+=(const MInt &r) { return *this= *this + r; }
 constexpr MInt &operator-=(const MInt &r) { return *this= *this - r; }
 constexpr MInt &operator*=(const MInt &r) { return *this= *this * r; }
 constexpr MInt &operator/=(const MInt &r) { return *this= *this / r; }
 constexpr bool operator==(const MInt &r) const { return B::md.norm(x) == B::md.norm(r.x); }
 constexpr bool operator!=(const MInt &r) const { return !(*this == r); }
 constexpr bool operator<(const MInt &r) const { return B::md.norm(x) < B::md.norm(r.x); }
 constexpr inline MInt inv() const { return mod_inv<U>(val(), B::md.mod); }
 constexpr inline Uint val() const { return B::md.get(x); }
 friend ostream &operator<<(ostream &os, const MInt &r) { return os << r.val(); }
 friend istream &operator>>(istream &is, MInt &r) {
  i64 v;
  return is >> v, r= MInt(v), is;
 }
private:
 Uint x;
};
template <u64 MOD> using MP_B= conditional_t < (MOD < (1 << 30)) & MOD, MP_Mo32, conditional_t < MOD < (1ull << 32), MP_Na, conditional_t<(MOD < (1ull << 62)) & MOD, MP_Mo64, conditional_t<MOD<(1ull << 41), MP_Br, conditional_t<MOD<(1ull << 63), MP_D2B1_1, MP_D2B1_2>>>>>;
template <u64 MOD> using ModInt= MInt < conditional_t<MOD<(1 << 30), u32, u64>, SB<MP_B<MOD>, MOD>>;
}
using math_internal::ModInt;
#line 2 "src/NumberTheory/enumerate_primes.hpp"
#include <algorithm>
#include <cstdint>
#line 2 "src/Internal/ListRange.hpp"
#include <vector>
#line 4 "src/Internal/ListRange.hpp"
#include <iterator>
#line 6 "src/Internal/ListRange.hpp"
#define _LR(name, IT, CT) \
 template <class T> struct name { \
  using Iterator= typename std::vector<T>::IT; \
  Iterator bg, ed; \
  Iterator begin() const { return bg; } \
  Iterator end() const { return ed; } \
  size_t size() const { return std::distance(bg, ed); } \
  CT &operator[](int i) const { return bg[i]; } \
 }
_LR(ListRange, iterator, T);
_LR(ConstListRange, const_iterator, const T);
#undef _LR
template <class T> struct CSRArray {
 std::vector<T> dat;
 std::vector<int> p;
 size_t size() const { return p.size() - 1; }
 ListRange<T> operator[](int i) { return {dat.begin() + p[i], dat.begin() + p[i + 1]}; }
 ConstListRange<T> operator[](int i) const { return {dat.cbegin() + p[i], dat.cbegin() + p[i + 1]}; }
};
template <template <class> class F, class T> std::enable_if_t<std::disjunction_v<std::is_same<F<T>, ListRange<T>>, std::is_same<F<T>, ConstListRange<T>>, std::is_same<F<T>, CSRArray<T>>>, std::ostream &> operator<<(std::ostream &os, const F<T> &r) {
 os << '[';
 for (int _= 0, __= r.size(); _ < __; ++_) os << (_ ? ", " : "") << r[_];
 return os << ']';
}
#line 5 "src/NumberTheory/enumerate_primes.hpp"
namespace nt_internal {
using namespace std;
vector<int> ps, lf;
void sieve(int N) {
 static int n= 2;
 if (n > N) return;
 if (lf.resize((N + 1) >> 1); n == 2) ps.push_back(n++);
 int M= (N - 1) / 2;
 for (int j= 1, e= ps.size(); j < e; ++j) {
  int p= ps[j];
  if (int64_t(p) * p > N) break;
  for (auto k= int64_t(p) * max(n / p / 2 * 2 + 1, p) / 2; k <= M; k+= p) lf[k]+= p * !lf[k];
 }
 for (; n <= N; n+= 2)
  if (!lf[n >> 1]) {
   ps.push_back(lf[n >> 1]= n);
   for (auto j= int64_t(n) * n / 2; j <= M; j+= n) lf[j]+= n * !lf[j];
  }
}
ConstListRange<int> enumerate_primes() { return {ps.cbegin(), ps.cend()}; }
ConstListRange<int> enumerate_primes(int N) {
 sieve(N);
 return {ps.cbegin(), upper_bound(ps.cbegin(), ps.cend(), N)};
}
int least_prime_factor(int n) { return n & 1 ? sieve(n), lf[(n >> 1)] : 2; }
// f(p,e) := f(p^e)
template <class T, class F> vector<T> completely_multiplicative_table(int N, const F &f) {
 vector<T> ret(N + 1);
 sieve(N);
 for (int n= 3, i= 1; n <= N; n+= 2, ++i) ret[n]= lf[i] == n ? f(n, 1) : ret[lf[i]] * ret[n / lf[i]];
 if (int n= 4; 2 <= N)
  for (T t= ret[2]= f(2, 1); n <= N; n+= 2) ret[n]= t * ret[n >> 1];
 return ret[1]= 1, ret;
}
}
using nt_internal::enumerate_primes, nt_internal::least_prime_factor, nt_internal::completely_multiplicative_table;
// O(N log k / log N + N)
template <class T> static std::vector<T> pow_table(int N, uint64_t k) {
 if (k == 0) return std::vector<T>(N + 1, 1);
 auto f= [k](int p, int) {
  T ret= 1, b= p;
  for (auto e= k;; b*= b) {
   if (e & 1) ret*= b;
   if (!(e>>= 1)) return ret;
  }
 };
 return completely_multiplicative_table<T>(N, f);
}
#line 3 "src/NumberTheory/CumSumQuotient.hpp"
#include <valarray>
template <class T> struct CumSumQuotient {
 uint64_t N;
 size_t K;
 std::valarray<T> X;
 CumSumQuotient(uint64_t N): N(N), K(std::sqrt(N)), X(K + K + 1) {}
 T &operator[](uint64_t i) { return i > K ? X[K + double(N) / i] : X[i]; }
 T operator()(uint64_t i) const { return i > K ? X[K + double(N) / i] : X[i]; }
 CumSumQuotient &operator+=(const CumSumQuotient &r) { return X+= r.X, *this; }
 CumSumQuotient &operator-=(const CumSumQuotient &r) { return X-= r.X, *this; }
 CumSumQuotient &operator*=(T a) { return X*= a, *this; }
 CumSumQuotient operator-() const {
  CumSumQuotient ret= *this;
  return ret.X= -ret.X, ret;
 }
 CumSumQuotient operator+(const CumSumQuotient &r) const { return CumSumQuotient(*this)+= r; }
 CumSumQuotient operator-(const CumSumQuotient &r) const { return CumSumQuotient(*this)-= r; }
 CumSumQuotient operator*(T a) const { return CumSumQuotient(*this)*= a; }
 friend CumSumQuotient operator*(T a, const CumSumQuotient &x) { return x * a; }
 void add(uint64_t i, T v) {
  for (size_t j= std::min<uint64_t>(N / i, K) + K; j >= i; --j) X[j]+= v;
 }
 T sum() const { return X[K + 1]; }
 T sum(uint64_t i) const { return i > K ? X[K + double(N) / i] : X[i]; }
};
#line 4 "src/NumberTheory/sum_on_primes.hpp"
template <class T> std::vector<CumSumQuotient<T>> sums_of_powers_on_primes(uint64_t N, size_t D) {
 size_t K= std::sqrt(N);
 std::vector ret(D + 1, CumSumQuotient<T>(N));
 for (size_t n= 1, d= 0; n <= K; ++n, d= 0)
  for (T prd= n; d <= D; prd*= (n + ++d)) ret[d].X[n]= prd / (d + 1);
 for (size_t n= 1, d= 0; n <= K; ++n, d= 0)
  for (T prd= N / n; d <= D; prd*= ((N / n) + ++d)) ret[d].X[n + K]= prd / (d + 1);
 if (D >= 2) {
  std::vector<T> stir(D + 1, 0);
  stir[1]= 1;
  for (size_t d= 2; d <= D; stir[d++]= 1) {
   for (size_t j= d; --j;) stir[j]= stir[j - 1] + stir[j] * (d - 1);
   for (size_t j= 1; j < d; ++j) ret[d].X-= stir[j] * ret[j].X;
  }
 }
 for (size_t d= 0; d <= D; ++d) ret[d].X-= 1;
 for (int p: enumerate_primes(K)) {
  uint64_t q= uint64_t(p) * p, M= N / p;
  T pw= 1;
  for (size_t d= 0, t= K / p, u= std::min<uint64_t>(K, N / q); d <= D; ++d, pw*= p) {
   auto &X= ret[d].X;
   T tk= X[p - 1];
   for (size_t n= 1; n <= t; ++n) X[n + K]-= (X[n * p + K] - tk) * pw;
   for (size_t n= t + 1; n <= u; ++n) X[n + K]-= (X[double(M) / n] - tk) * pw;
   for (uint64_t n= K; n >= q; --n) X[n]-= (X[double(n) / p] - tk) * pw;
  }
 }
 return ret;
}
template <class T, class F> T additive_sum(const CumSumQuotient<T> &P, const F &f) {
 T ret= P.sum();
 for (uint64_t d= 2, nN, nd; nN= double(P.N) / d; d= nd) ret+= P(nN) * ((nd= double(P.N) / nN + 1) - d);
 for (uint64_t p: enumerate_primes(P.K))
  for (uint64_t pw= p * p, e= 2; pw <= P.N; ++e, pw*= p) ret+= (f(p, e) - f(p, e - 1)) * (P.N / pw);
 return ret;
}
template <class T, class F> T multiplicative_sum(CumSumQuotient<T> P, const F &f) {
 auto ps= enumerate_primes(P.K);
 size_t psz= ps.size();
 for (size_t j= psz; j--;) {
  uint64_t p= ps[j], M= P.N / p, q= p * p;
  size_t t= P.K / p, u= std::min<uint64_t>(P.K, P.N / q);
  T tk= P.X[p - 1];
  for (auto i= q; i <= P.K; ++i) P.X[i]+= (P.X[double(i) / p] - tk) * f(p, 1);
  for (size_t i= u; i > t; --i) P.X[i + P.K]+= (P.X[double(M) / i] - tk) * f(p, 1);
  for (size_t i= t; i; --i) P.X[i + P.K]+= (P.X[i * p + P.K] - tk) * f(p, 1);
 }
 P.X+= 1;
 auto dfs= [&](auto &rc, uint64_t n, size_t bg, T cf) -> T {
  if (cf == T(0)) return T(0);
  T ret= cf * P(n);
  for (auto i= bg; i < psz; ++i) {
   uint64_t p= ps[i], q= p * p, nn= n / q;
   if (!nn) break;
   for (int e= 2; nn; nn/= p, ++e) ret+= rc(rc, nn, i + 1, cf * (f(p, e) - f(p, 1) * f(p, e - 1)));
  }
  return ret;
 };
 return dfs(dfs, P.N, 0, 1);
}
#line 8 "test/yosupo/sum_of_totient_function.mul_sum.test.cpp"
using namespace std;
signed main() {
 cin.tie(0);
 ios::sync_with_stdio(false);
 using Mint= ModInt<998244353>;
 long long N;
 cin >> N;
 auto Ps= sums_of_powers_on_primes<Mint>(N, 1);
 auto f= [](long long p, short e) { return Mint(p).pow(e - 1) * (p - 1); };
 cout << multiplicative_sum(Ps[1] - Ps[0], f) << '\n';
 return 0;
}

Test cases

Env Name Status Elapsed Memory
g++-13 boundaryA_00 :heavy_check_mark: AC 47 ms 5 MB
g++-13 boundaryA_01 :heavy_check_mark: AC 107 ms 6 MB
g++-13 boundaryA_02 :heavy_check_mark: AC 145 ms 6 MB
g++-13 boundaryA_03 :heavy_check_mark: AC 159 ms 7 MB
g++-13 boundaryA_04 :heavy_check_mark: AC 99 ms 6 MB
g++-13 boundaryA_05 :heavy_check_mark: AC 91 ms 5 MB
g++-13 boundaryA_06 :heavy_check_mark: AC 148 ms 6 MB
g++-13 boundaryA_07 :heavy_check_mark: AC 182 ms 7 MB
g++-13 boundaryA_08 :heavy_check_mark: AC 69 ms 5 MB
g++-13 boundaryA_09 :heavy_check_mark: AC 99 ms 6 MB
g++-13 boundaryB_00 :heavy_check_mark: AC 46 ms 5 MB
g++-13 boundaryB_01 :heavy_check_mark: AC 108 ms 6 MB
g++-13 boundaryB_02 :heavy_check_mark: AC 145 ms 6 MB
g++-13 boundaryB_03 :heavy_check_mark: AC 159 ms 7 MB
g++-13 boundaryB_04 :heavy_check_mark: AC 99 ms 6 MB
g++-13 boundaryB_05 :heavy_check_mark: AC 90 ms 5 MB
g++-13 boundaryB_06 :heavy_check_mark: AC 148 ms 6 MB
g++-13 boundaryB_07 :heavy_check_mark: AC 180 ms 7 MB
g++-13 boundaryB_08 :heavy_check_mark: AC 69 ms 5 MB
g++-13 boundaryB_09 :heavy_check_mark: AC 102 ms 6 MB
g++-13 example_00 :heavy_check_mark: AC 5 ms 4 MB
g++-13 example_01 :heavy_check_mark: AC 4 ms 4 MB
g++-13 example_02 :heavy_check_mark: AC 4 ms 4 MB
g++-13 handmade_00 :heavy_check_mark: AC 4 ms 4 MB
g++-13 handmade_01 :heavy_check_mark: AC 4 ms 4 MB
g++-13 handmade_02 :heavy_check_mark: AC 4 ms 4 MB
g++-13 handmade_03 :heavy_check_mark: AC 5 ms 4 MB
g++-13 max_00 :heavy_check_mark: AC 182 ms 7 MB
g++-13 max_01 :heavy_check_mark: AC 183 ms 7 MB
g++-13 max_02 :heavy_check_mark: AC 182 ms 7 MB
g++-13 max_03 :heavy_check_mark: AC 178 ms 7 MB
g++-13 max_04 :heavy_check_mark: AC 180 ms 7 MB
g++-13 max_05 :heavy_check_mark: AC 182 ms 7 MB
g++-13 max_06 :heavy_check_mark: AC 180 ms 7 MB
g++-13 max_07 :heavy_check_mark: AC 180 ms 7 MB
g++-13 max_08 :heavy_check_mark: AC 180 ms 7 MB
g++-13 max_09 :heavy_check_mark: AC 182 ms 7 MB
g++-13 random_00 :heavy_check_mark: AC 47 ms 5 MB
g++-13 random_01 :heavy_check_mark: AC 108 ms 6 MB
g++-13 random_02 :heavy_check_mark: AC 143 ms 6 MB
g++-13 random_03 :heavy_check_mark: AC 159 ms 7 MB
g++-13 random_04 :heavy_check_mark: AC 99 ms 6 MB
g++-13 random_05 :heavy_check_mark: AC 90 ms 5 MB
g++-13 random_06 :heavy_check_mark: AC 148 ms 6 MB
g++-13 random_07 :heavy_check_mark: AC 177 ms 7 MB
g++-13 random_08 :heavy_check_mark: AC 69 ms 5 MB
g++-13 random_09 :heavy_check_mark: AC 102 ms 6 MB
g++-13 small_00 :heavy_check_mark: AC 5 ms 4 MB
clang++-18 boundaryA_00 :heavy_check_mark: AC 61 ms 5 MB
clang++-18 boundaryA_01 :heavy_check_mark: AC 142 ms 6 MB
clang++-18 boundaryA_02 :heavy_check_mark: AC 192 ms 6 MB
clang++-18 boundaryA_03 :heavy_check_mark: AC 206 ms 7 MB
clang++-18 boundaryA_04 :heavy_check_mark: AC 129 ms 6 MB
clang++-18 boundaryA_05 :heavy_check_mark: AC 117 ms 5 MB
clang++-18 boundaryA_06 :heavy_check_mark: AC 195 ms 6 MB
clang++-18 boundaryA_07 :heavy_check_mark: AC 240 ms 7 MB
clang++-18 boundaryA_08 :heavy_check_mark: AC 90 ms 5 MB
clang++-18 boundaryA_09 :heavy_check_mark: AC 134 ms 6 MB
clang++-18 boundaryB_00 :heavy_check_mark: AC 61 ms 5 MB
clang++-18 boundaryB_01 :heavy_check_mark: AC 142 ms 6 MB
clang++-18 boundaryB_02 :heavy_check_mark: AC 189 ms 6 MB
clang++-18 boundaryB_03 :heavy_check_mark: AC 207 ms 7 MB
clang++-18 boundaryB_04 :heavy_check_mark: AC 129 ms 6 MB
clang++-18 boundaryB_05 :heavy_check_mark: AC 118 ms 5 MB
clang++-18 boundaryB_06 :heavy_check_mark: AC 189 ms 6 MB
clang++-18 boundaryB_07 :heavy_check_mark: AC 239 ms 7 MB
clang++-18 boundaryB_08 :heavy_check_mark: AC 89 ms 5 MB
clang++-18 boundaryB_09 :heavy_check_mark: AC 133 ms 6 MB
clang++-18 example_00 :heavy_check_mark: AC 5 ms 4 MB
clang++-18 example_01 :heavy_check_mark: AC 5 ms 4 MB
clang++-18 example_02 :heavy_check_mark: AC 4 ms 4 MB
clang++-18 handmade_00 :heavy_check_mark: AC 4 ms 4 MB
clang++-18 handmade_01 :heavy_check_mark: AC 4 ms 4 MB
clang++-18 handmade_02 :heavy_check_mark: AC 5 ms 4 MB
clang++-18 handmade_03 :heavy_check_mark: AC 5 ms 4 MB
clang++-18 max_00 :heavy_check_mark: AC 241 ms 7 MB
clang++-18 max_01 :heavy_check_mark: AC 243 ms 7 MB
clang++-18 max_02 :heavy_check_mark: AC 242 ms 7 MB
clang++-18 max_03 :heavy_check_mark: AC 241 ms 7 MB
clang++-18 max_04 :heavy_check_mark: AC 242 ms 7 MB
clang++-18 max_05 :heavy_check_mark: AC 242 ms 7 MB
clang++-18 max_06 :heavy_check_mark: AC 243 ms 7 MB
clang++-18 max_07 :heavy_check_mark: AC 236 ms 7 MB
clang++-18 max_08 :heavy_check_mark: AC 249 ms 7 MB
clang++-18 max_09 :heavy_check_mark: AC 246 ms 7 MB
clang++-18 random_00 :heavy_check_mark: AC 61 ms 5 MB
clang++-18 random_01 :heavy_check_mark: AC 143 ms 6 MB
clang++-18 random_02 :heavy_check_mark: AC 193 ms 6 MB
clang++-18 random_03 :heavy_check_mark: AC 210 ms 7 MB
clang++-18 random_04 :heavy_check_mark: AC 130 ms 6 MB
clang++-18 random_05 :heavy_check_mark: AC 118 ms 5 MB
clang++-18 random_06 :heavy_check_mark: AC 195 ms 6 MB
clang++-18 random_07 :heavy_check_mark: AC 241 ms 7 MB
clang++-18 random_08 :heavy_check_mark: AC 90 ms 5 MB
clang++-18 random_09 :heavy_check_mark: AC 134 ms 6 MB
clang++-18 small_00 :heavy_check_mark: AC 5 ms 4 MB
Back to top page