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% 4 / 0 / 8

test/cpv/library-checker-geo/sort_points_by_argument.cpp
Line Branch Exec Source
1 // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/sort_points_by_argument
2 #include "../../../src/geo2d/argsort/lib.hpp"
3 #include "../../../src/geo2d/ds/p/lib.hpp"
4 #include "../../../src/io/container/lib.hpp"
5
6 using namespace tifa_libs;
7 using point_t = point<i64>;
8
9 21 int main() {
10
1/2
✓ Branch 2 taken 21 times.
✗ Branch 3 not taken.
21 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
11 u32 n;
12
1/2
✓ Branch 1 taken 21 times.
✗ Branch 2 not taken.
21 std::cin >> n;
13
1/2
✓ Branch 1 taken 21 times.
✗ Branch 2 not taken.
21 vec<point_t> vp(n);
14 21 std::cin >> vp;
15 21 argsort(vp);
16
1/2
✓ Branch 2 taken 21 times.
✗ Branch 3 not taken.
21 std::cout << vp << '\n';
17 21 return 0;
18 21 }
19