test/cpv_local/geo2d/maxv_cvh_cnt.bzoj1591.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: LOCALCASE test/cpv_local/_data/bzoj/1591 | ||
| 2 | |||
| 3 | #include "../../../src/geo2d/maxv_cvh_cnt/lib.hpp" | ||
| 4 | #include "../../../src/io/container/lib.hpp" | ||
| 5 | |||
| 6 | using namespace tifa_libs; | ||
| 7 | using std::cin, std::cout; | ||
| 8 | using data_t = f64; | ||
| 9 | using Point2 = point<data_t>; | ||
| 10 | |||
| 11 | 20 | int main() { | |
| 12 | u32 n; | ||
| 13 |
1/2✓ Branch 1 taken 20 times.
✗ Branch 2 not taken.
|
20 | cin >> n; |
| 14 |
1/2✓ Branch 1 taken 20 times.
✗ Branch 2 not taken.
|
20 | vec<Point2> vp(n); |
| 15 | 20 | cin >> vp; | |
| 16 |
2/4✓ Branch 2 taken 20 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 20 times.
✗ Branch 6 not taken.
|
20 | cout << maxv_cvh_cnt(vp) << '\n'; |
| 17 | 20 | } | |
| 18 |