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: 60.0% 6 / 0 / 10

test/cpv/aizu-cgl/cgl_1_b.cpp
Line Branch Exec Source
1 // competitive-verifier: ERROR 0.00000001
2 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/all/CGL_1_B
3 #include "../../../src/geo2d/ds/l/lib.hpp"
4 #include "../../../src/geo2d/ds/p/lib.hpp"
5 #include "../../../src/geo2d/proj/lib.hpp"
6
7 using namespace tifa_libs;
8 using point_t = point<double>;
9 using line_t = line<double>;
10
11 32 int main() {
12
1/2
✓ Branch 2 taken 32 times.
✗ Branch 3 not taken.
32 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
13
1/2
✓ Branch 1 taken 32 times.
✗ Branch 2 not taken.
32 std::cout << std::fixed << std::setprecision(10);
14 line_t l;
15 32 std::cin >> l;
16 u32 q;
17
1/2
✓ Branch 1 taken 32 times.
✗ Branch 2 not taken.
32 std::cin >> q;
18
2/2
✓ Branch 0 taken 14490 times.
✓ Branch 1 taken 32 times.
14522 flt_ (u32, i, 0, q) {
19 point_t p;
20 14490 std::cin >> p;
21
1/2
✓ Branch 3 taken 14490 times.
✗ Branch 4 not taken.
14490 std::cout << reflect(l, p) << '\n';
22 }
23 32 return 0;
24 }
25