GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 9 / 0 / 9
Functions: 100.0% 1 / 0 / 1
Branches: 50.0% 5 / 0 / 10

test/cpv/library-checker-linear_algebra/matrix_product.mintd-md.cpp
Line Branch Exec Source
1 #define AUTO_GENERATED
2 // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/matrix_product
3 #include "../../../src/lalg/ds/mat/lib.hpp"
4
5 using namespace tifa_libs;
6 CEXP u32 MOD = 998244353;
7
8 #include "../../../src/math/ds/mint/md/lib.hpp"
9
10 using namespace tifa_libs;
11 using mint = mint_md<__LINE__>;
12 using mat = tifa_libs::matrix<mint>;
13
14 22 int main() {
15 22 mint::set_mod(MOD);
16
1/2
✓ Branch 2 taken 22 times.
✗ Branch 3 not taken.
22 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
17 u32 n, m, k;
18
3/6
✓ Branch 1 taken 22 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 22 times.
✗ Branch 5 not taken.
✓ Branch 7 taken 22 times.
✗ Branch 8 not taken.
22 std::cin >> n >> m >> k;
19 22 mat a(n, m), b(m, k);
20 22 std::cin >> a >> b;
21
1/2
✓ Branch 3 taken 22 times.
✗ Branch 4 not taken.
22 std::cout << a * b << '\n';
22 22 return 0;
23 22 }
24