This documentation is automatically generated by competitive-verifier/competitive-verifier
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/subset_convolution
#include "fft/subset_convolution.hpp"
#include <iostream>
#include <vector>
#include "math/modint.hpp"
using Mint = modint998;
int main(void) {
int n;
std::cin >> n;
std::vector<Mint> a(1 << n), b(1 << n);
for (auto &e : a) std::cin >> e;
for (auto &e : b) std::cin >> e;
auto ans = subset_convolution(a, b);
for (int i = 0; i < (int)ans.size(); ++i)
std::cout << ans[i] << (i == (int)ans.size() - 1 ? '\n' : ' ');
return 0;
}
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/resolver.py", line 291, in resolve
bundled_code = language.bundle(path, basedir=basedir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/verify/languages/cplusplus.py", line 242, in bundle
bundler.update(path)
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 479, in update
self._resolve(pathlib.Path(included), included_from=path)
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 286, in _resolve
raise BundleErrorAt(path, -1, "no such header")
competitive_verifier.oj.verify.languages.cplusplus_bundle.BundleErrorAt: fft/subset_convolution.hpp: line -1: no such header
| Env | Name | Status | Elapsed | Memory |
|---|---|---|---|---|
| g++ | example_00 |
|
3 ms | 3 MB |
| g++ | hack01_00 |
|
1762 ms | 388 MB |
| g++ | max_random_00 |
|
1982 ms | 388 MB |
| g++ | max_random_01 |
|
1960 ms | 388 MB |
| g++ | max_random_02 |
|
1977 ms | 388 MB |
| g++ | random_00 |
|
1990 ms | 388 MB |
| g++ | random_01 |
|
2 ms | 3 MB |
| g++ | random_02 |
|
3 ms | 4 MB |
| g++ | small_00 |
|
2 ms | 4 MB |
| g++ | small_01 |
|
2 ms | 3 MB |
| g++ | small_02 |
|
2 ms | 4 MB |