GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 7 / 0 / 7
Functions: 100.0% 1 / 0 / 1
Branches: 50.0% 4 / 0 / 8

test/cpv/aizu-ntl/ntl_1_b.mintd-md64.cpp
Line Branch Exec Source
1 #define AUTO_GENERATED
2 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/6/NTL/all/NTL_1_B
3 #include "../../../src/math/qpow/basic/lib.hpp"
4
5 using namespace tifa_libs;
6 CEXP u64 MOD = 1'000'000'007;
7
8 #include "../../../src/math/ds/mint/md64/lib.hpp"
9
10 using namespace tifa_libs;
11 using mint = mint_md64<__LINE__>;
12
13 20 int main() {
14 20 mint::set_mod(MOD);
15
1/2
✓ Branch 2 taken 20 times.
✗ Branch 3 not taken.
20 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
16 20 mint m;
17 u64 n;
18
1/2
✓ Branch 2 taken 20 times.
✗ Branch 3 not taken.
20 std::cin >> m >> n;
19
2/4
✓ Branch 4 taken 20 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 20 times.
✗ Branch 8 not taken.
20 std::cout << tifa_libs::qpow(m, n).val() << '\n';
20 20 return 0;
21 }
22