library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub maspypy/library

:warning: setfunc/online/online_or_convolution.hpp

Code

#include "setfunc/online/oniline_subset_zeta.hpp"
#include "setfunc/online/oniline_subset_mobius.hpp"

template <typename T>
struct Online_Or_Convolution {
  Online_Subset_Zeta<T> X1, X2;
  Online_Subset_Mobius<T> Y;
  Online_Or_Convolution(int LOG) : X1(LOG), X2(LOG), Y(LOG) {}
  // set a[i] and b[i], return conv(a,b)[i]
  T set(int i, T ai, T bi) { return Y.set(i, X1.set(i, ai) * X2.set(i, bi)); }
  // assume a[i],b[i], return zeta(a)[i]. not increment the pointer.
  T assume(int i, T ai, T bi) { return Y.assume(i, X1.assume(i, ai) * X2.assume(i, bi)); }
};
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/site-packages/onlinejudge_verify/documentation/build.py", line 71, in _render_source_code_stat
    bundled_code = language.bundle(stat.path, basedir=basedir, options={'include_paths': [basedir]}).decode()
                   ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/site-packages/onlinejudge_verify/languages/cplusplus.py", line 187, in bundle
    bundler.update(path)
    ~~~~~~~~~~~~~~^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/site-packages/onlinejudge_verify/languages/cplusplus_bundle.py", line 401, in update
    self.update(self._resolve(pathlib.Path(included), included_from=path))
                ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/site-packages/onlinejudge_verify/languages/cplusplus_bundle.py", line 260, in _resolve
    raise BundleErrorAt(path, -1, "no such header")
onlinejudge_verify.languages.cplusplus_bundle.BundleErrorAt: setfunc/online/oniline_subset_zeta.hpp: line -1: no such header
Back to top page