This documentation is automatically generated by online-judge-tools/verification-helper
// verification-helper: PROBLEM https://judge.yosupo.jp/problem/convolution_mod
use itertools::Itertools;
use ntt::convolution;
use proconio::{fastout, input};
use static_modint::ModInt998244353;
#[fastout]
fn main() {
input! {
n: usize,
m: usize,
a: [u32; n],
b: [u32; m],
}
let a: Vec<ModInt998244353> = a.into_iter().map(ModInt998244353::raw).collect();
let b: Vec<ModInt998244353> = b.into_iter().map(ModInt998244353::raw).collect();
let c = convolution(&a, &b);
println!("{}", c.iter().format(" "));
}Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.13.9/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.9/x64/lib/python3.13/site-packages/onlinejudge_verify/languages/rust.py", line 288, in bundle
raise NotImplementedError
NotImplementedError