verify/convolution/xor_convolution_test.nim

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

:heavy_check_mark: verify/convolution/xor_convolution_test.nim

Depends on

Code

# verification-helper: PROBLEM https://judge.yosupo.jp/problem/bitwise_xor_convolution

import cplib/convolution/xor_convolution
import atcoder/modint
import sequtils,math,strutils
proc scanf(formatstr: cstring){.header: "<stdio.h>", varargs.}
proc ii(): int {.inline.} = scanf("%lld\n", addr result)
type mint = modint998244353

var N = ii()
var A = newseqwith(2^N,ii().mint())
var B = newSeqWith(2^N,ii().mint())

var C = xor_convolution(A,B)
echo C.join(" ")
Traceback (most recent call last):
  File "/home/runner/.local/lib/python3.12/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 "/home/runner/.local/lib/python3.12/site-packages/onlinejudge_verify/languages/nim.py", line 86, in bundle
    raise NotImplementedError
NotImplementedError
Back to top page