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: 57.1% 8 / 0 / 14

test/cpv/library-checker-number_theory/nim_product_64.cpp
Line Branch Exec Source
1 // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/nim_product_64
2 #include "../../../src/math/nim_prod/lib.hpp"
3
4 using namespace tifa_libs;
5 10 int main() {
6
1/2
✓ Branch 2 taken 10 times.
✗ Branch 3 not taken.
10 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
7 u32 t;
8
1/2
✓ Branch 1 taken 10 times.
✗ Branch 2 not taken.
10 std::cin >> t;
9
2/2
✓ Branch 0 taken 4404107 times.
✓ Branch 1 taken 10 times.
4404117 for (u64 i = 0, a, b; i < t; ++i) {
10
2/4
✓ Branch 1 taken 4404107 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 4404107 times.
✗ Branch 5 not taken.
4404107 std::cin >> a >> b;
11
2/4
✓ Branch 2 taken 4404107 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 4404107 times.
✗ Branch 6 not taken.
4404107 std::cout << nimprod64(a, b) << '\n';
12 }
13 10 return 0;
14 }
15