library

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

View the Project on GitHub zer0-star/library

:heavy_check_mark: test/nim/ntt_convolution_mod_one_test.nim

Back to top page

Depends on

Code

# verify-helper: PROBLEM https://judge.yosupo.jp/problem/convolution_mod

include nim/math/ntt
include nim/utils/base

import strutils

input:
  (N, M): int
  a: seq[int]; it.initPolynomial
  b: seq[int]; it.initPolynomial

let
  c = nttConvolute_innerProc(a, b, 998244353, 3)

echo c[0..<N+M-1].join(" ")

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/onlinejudge_verify/docs.py", line 349, in write_contents
    bundled_code = language.bundle(self.file_class.file_path, basedir=pathlib.Path.cwd())
  File "/opt/hostedtoolcache/Python/3.8.5/x64/lib/python3.8/site-packages/onlinejudge_verify/languages/nim.py", line 86, in bundle
    raise NotImplementedError
NotImplementedError

Back to top page