test/cpv/aizu-cgl/cgl_7_e.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_E | ||
| 3 | #include "../../../src/geo2d/ds/c/lib.hpp" | ||
| 4 | #include "../../../src/geo2d/ins/cc/lib.hpp" | ||
| 5 | |||
| 6 | using namespace tifa_libs; | ||
| 7 | using circ = circle<double>; | ||
| 8 | |||
| 9 | 25 | int main() { | |
| 10 |
1/2✓ Branch 2 taken 25 times.
✗ Branch 3 not taken.
|
25 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 11 |
1/2✓ Branch 1 taken 25 times.
✗ Branch 2 not taken.
|
25 | std::cout << std::fixed << std::setprecision(12); |
| 12 | circ c1, c2; | ||
| 13 | 25 | std::cin >> c1 >> c2; | |
| 14 |
1/2✓ Branch 2 taken 25 times.
✗ Branch 3 not taken.
|
25 | auto [x, y] = ins_CC(c1, c2).value(); |
| 15 |
4/6✓ Branch 1 taken 14 times.
✓ Branch 2 taken 11 times.
✓ Branch 5 taken 14 times.
✗ Branch 6 not taken.
✓ Branch 9 taken 14 times.
✗ Branch 10 not taken.
|
25 | if (x < y) std::cout << x << ' ' << y << '\n'; |
| 16 |
2/4✓ Branch 2 taken 11 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 11 times.
✗ Branch 7 not taken.
|
11 | else std::cout << y << ' ' << x << '\n'; |
| 17 | 25 | return 0; | |
| 18 | } | ||
| 19 |