GCC Code Coverage Report


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

test/cpv/aizu-ntl/ntl_1_b.mints-ms64.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/ms64/lib.hpp"
9
10 using namespace tifa_libs;
11 using mint = mint_ms64<MOD>;
12
13 20 int main() {
14
1/2
✓ Branch 2 taken 20 times.
✗ Branch 3 not taken.
20 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
15 20 mint m;
16 u64 n;
17
1/2
✓ Branch 2 taken 20 times.
✗ Branch 3 not taken.
20 std::cin >> m >> n;
18
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';
19 20 return 0;
20 }
21