GCC Code Coverage Report


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

test/cpv/library-checker-linear_algebra/matrix_product.mints-bs.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/bs/lib.hpp"
9
10 using namespace tifa_libs;
11 using mint = mint_bs<MOD>;
12 using mat = tifa_libs::matrix<mint>;
13
14 22 int main() {
15
1/2
✓ Branch 2 taken 22 times.
✗ Branch 3 not taken.
22 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
16 u32 n, m, k;
17
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;
18 22 mat a(n, m), b(m, k);
19 22 std::cin >> a >> b;
20
1/2
✓ Branch 3 taken 22 times.
✗ Branch 4 not taken.
22 std::cout << a * b << '\n';
21 22 return 0;
22 22 }
23