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% 6 / 0 / 12

test/cpv/aizu-cgl/cgl_7_h.cpp
Line Branch Exec Source
1 // competitive-verifier: ERROR 0.000001
2 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/all/CGL_7_H
3 #include "../../../src/geo2d/ains/poc/lib.hpp"
4 #include "../../../src/geo2d/ds/po/lib.hpp"
5
6 using namespace tifa_libs;
7 using poly = polygon<double>;
8 using circ = circle<double>;
9
10 32 int main() {
11
1/2
✓ Branch 2 taken 32 times.
✗ Branch 3 not taken.
32 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
12
1/2
✓ Branch 1 taken 32 times.
✗ Branch 2 not taken.
32 std::cout << std::fixed << std::setprecision(12);
13 u32 n;
14 double r;
15
2/4
✓ Branch 1 taken 32 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 32 times.
✗ Branch 5 not taken.
32 std::cin >> n >> r;
16 32 poly pl(n);
17 32 std::cin >> pl;
18
2/4
✓ Branch 3 taken 32 times.
✗ Branch 4 not taken.
✓ Branch 6 taken 32 times.
✗ Branch 7 not taken.
32 std::cout << area_PoC(pl, {0, 0, r}) << '\n';
19 32 return 0;
20 32 }
21