test/cpv/aizu-cgl/cgl_2_c.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_2_C | ||
| 3 | #include "../../../src/geo2d/ds/l/lib.hpp" | ||
| 4 | #include "../../../src/geo2d/ds/p/lib.hpp" | ||
| 5 | #include "../../../src/geo2d/ins/ll/lib.hpp" | ||
| 6 | |||
| 7 | using namespace tifa_libs; | ||
| 8 | using point_t = point<double>; | ||
| 9 | using line_t = line<double>; | ||
| 10 | |||
| 11 | 20 | int main() { | |
| 12 |
1/2✓ Branch 2 taken 20 times.
✗ Branch 3 not taken.
|
20 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 13 |
1/2✓ Branch 1 taken 20 times.
✗ Branch 2 not taken.
|
20 | std::cout << std::fixed << std::setprecision(10); |
| 14 | u32 q; | ||
| 15 |
1/2✓ Branch 1 taken 20 times.
✗ Branch 2 not taken.
|
20 | std::cin >> q; |
| 16 |
2/2✓ Branch 0 taken 4774 times.
✓ Branch 1 taken 20 times.
|
4794 | flt_ (u32, i, 0, q) { |
| 17 | line_t l1, l2; | ||
| 18 | 4774 | std::cin >> l1 >> l2; | |
| 19 |
1/2✓ Branch 3 taken 4774 times.
✗ Branch 4 not taken.
|
4774 | std::cout << ins_LL(l1, l2) << '\n'; |
| 20 | } | ||
| 21 | 20 | return 0; | |
| 22 | } | ||
| 23 |