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

test/cpv/aizu-info1/info1_12_a.cpp
Line Branch Exec Source
1 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/lesson/9/INFO1/all/INFO1_12_A
2 #include "../../../src/ds/ndvec/lib.hpp"
3 #include "../../../src/io/container/lib.hpp"
4
5 using namespace tifa_libs;
6 10 int main() {
7
1/2
✓ Branch 2 taken 10 times.
✗ Branch 3 not taken.
10 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
8 u32 n, m;
9
2/4
✓ Branch 1 taken 10 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 10 times.
✗ Branch 5 not taken.
10 std::cin >> n >> m;
10 10 ndvec<2, i32> nv(n, m);
11 10 std::cin >> nv;
12 u32 i, j;
13
2/4
✓ Branch 1 taken 10 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 10 times.
✗ Branch 5 not taken.
10 std::cin >> i >> j;
14
2/4
✓ Branch 2 taken 10 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 10 times.
✗ Branch 6 not taken.
10 std::cout << nv(i, j) << '\n';
15 10 return 0;
16 10 }
17