test/cpv/library-checker-number_theory/tetration_mod.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/tetration_mod | ||
| 2 | #include "../../../src/math/qpow/tetra_mod/lib.hpp" | ||
| 3 | |||
| 4 | using namespace tifa_libs; | ||
| 5 | 19 | int main() { | |
| 6 |
1/2✓ Branch 2 taken 19 times.
✗ Branch 3 not taken.
|
19 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 7 | i64 t; | ||
| 8 |
1/2✓ Branch 1 taken 19 times.
✗ Branch 2 not taken.
|
19 | std::cin >> t; |
| 9 |
2/2✓ Branch 0 taken 12725 times.
✓ Branch 1 taken 19 times.
|
12744 | while (t--) { |
| 10 | u64 a, b, m; | ||
| 11 |
3/6✓ Branch 1 taken 12725 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 12725 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 12725 times.
✗ Branch 8 not taken.
|
12725 | std::cin >> a >> b >> m; |
| 12 |
2/4✓ Branch 2 taken 12725 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 12725 times.
✗ Branch 6 not taken.
|
12725 | std::cout << qtetra_mod(a, b, m) << '\n'; |
| 13 | } | ||
| 14 | 19 | return 0; | |
| 15 | } | ||
| 16 |