test/cpv/aizu-dpl/dpl_5_g.mintd-md.mints-ms64.poly_anymod-p3ntt.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #define AUTO_GENERATED | ||
| 2 | // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/7/DPL/all/DPL_5_G | ||
| 3 | #include "../../../src/comb/ball_box/dia/lib.hpp" | ||
| 4 | |||
| 5 | using namespace tifa_libs; | ||
| 6 | CEXP u32 MOD = 1000000000 + 7; | ||
| 7 | |||
| 8 | #include "../../../src/fps/ds/ntt3/lib.hpp" | ||
| 9 | #include "../../../src/math/ds/mint/md/lib.hpp" | ||
| 10 | #include "../../../src/math/ds/mint/ms64/lib.hpp" | ||
| 11 | |||
| 12 | using namespace tifa_libs; | ||
| 13 | using mint = mint_md<__LINE__>; | ||
| 14 | using namespace tifa_libs; | ||
| 15 | using mint_p3ntt1 = mint_ms64<167772161>; | ||
| 16 | using mint_p3ntt2 = mint_ms64<469762049>; | ||
| 17 | using mint_p3ntt3 = mint_ms64<754974721>; | ||
| 18 | using poly = poly3ntt<mint, mint_p3ntt1, mint_p3ntt2, mint_p3ntt3>; | ||
| 19 | |||
| 20 | 28 | int main() { | |
| 21 | 28 | mint::set_mod(MOD); | |
| 22 |
1/2✓ Branch 2 taken 28 times.
✗ Branch 3 not taken.
|
28 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 23 | u32 n, k; | ||
| 24 |
2/4✓ Branch 1 taken 28 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 28 times.
✗ Branch 5 not taken.
|
28 | std::cin >> n >> k; |
| 25 |
1/2✓ Branch 3 taken 28 times.
✗ Branch 4 not taken.
|
28 | std::cout << tifa_libs::ball_box_dia<poly>(n, k) << '\n'; |
| 26 | 28 | return 0; | |
| 27 | } | ||
| 28 |