test/cpv/aizu-cgl/cgl_4_b.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_4_B | ||
| 3 | #include "../../../src/geo2d/ds/cvh/lib.hpp" | ||
| 4 | |||
| 5 | using namespace tifa_libs; | ||
| 6 | using cvh_t = cvh<double>; | ||
| 7 | |||
| 8 | 24 | int main() { | |
| 9 |
1/2✓ Branch 2 taken 24 times.
✗ Branch 3 not taken.
|
24 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 10 |
1/2✓ Branch 1 taken 24 times.
✗ Branch 2 not taken.
|
24 | std::cout << std::fixed << std::setprecision(12); |
| 11 | u32 n; | ||
| 12 |
1/2✓ Branch 1 taken 24 times.
✗ Branch 2 not taken.
|
24 | std::cin >> n; |
| 13 | 24 | cvh_t p(n); | |
| 14 | 24 | std::cin >> p; | |
| 15 | 24 | p.init(); | |
| 16 |
2/4✓ Branch 2 taken 24 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 24 times.
✗ Branch 6 not taken.
|
24 | std::cout << p.diameter() << '\n'; |
| 17 | 24 | return 0; | |
| 18 | 24 | } | |
| 19 |