test/cpv/library-checker-set_power_series/subset_convolution.mints-bs.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #define AUTO_GENERATED | ||
| 2 | // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/subset_convolution | ||
| 3 | #include "../../../src/conv/subset/lib.hpp" | ||
| 4 | #include "../../../src/io/container/lib.hpp" | ||
| 5 | #include "../../../src/io/fastin/lib.hpp" | ||
| 6 | #include "../../../src/io/fastout/lib.hpp" | ||
| 7 | |||
| 8 | using namespace tifa_libs; | ||
| 9 | CEXP u32 MOD = 998244353; | ||
| 10 | |||
| 11 | #include "../../../src/math/ds/mint/bs/lib.hpp" | ||
| 12 | |||
| 13 | using namespace tifa_libs; | ||
| 14 | using mint = mint_bs<MOD>; | ||
| 15 | |||
| 16 | 11 | int main() { | |
| 17 | u32 n; | ||
| 18 | 11 | tifa_libs::fin_uint >> n; | |
| 19 |
2/4✓ Branch 1 taken 11 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 11 times.
✗ Branch 5 not taken.
|
33 | vec<mint> a(1 << n), b(1 << n); |
| 20 |
2/2✓ Branch 6 taken 5243951 times.
✓ Branch 7 taken 11 times.
|
5243962 | for (auto& i : a) tifa_libs::fin_uint >> i; |
| 21 |
2/2✓ Branch 6 taken 5243951 times.
✓ Branch 7 taken 11 times.
|
5243962 | for (auto& i : b) tifa_libs::fin_uint >> i; |
| 22 | 11 | tifa_libs::conv_subset<mint, 20> cvs; | |
| 23 | 11 | tifa_libs::fout << cvs.conv(a, b) << '\n'; | |
| 24 | 11 | return 0; | |
| 25 | 11 | } | |
| 26 |