|
Download benchmarks/Algorithms/convex_hull_float/problem.md from PV-SJTU/PV-Bench: direct link, hf CLI and curl.
- Browser
- Download file 601 Bytes
-
https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/convex_hull_float/problem.md
- Command line
-
hf download hf://datasets/PV-SJTU/PV-Bench/benchmarks/Algorithms/convex_hull_float/problem.md
-
curl -L -o problem.md https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/convex_hull_float/problem.md
601 Bytes
| # Convex Hull of Floating-Point Points | |
| ## Description | |
| Given planar points with finite floating-point coordinates, compute their convex hull using Andrew's monotone-chain algorithm. | |
| ## Input | |
| The verification-case input consists of an array `pts` of `n` points and writable output array `hull`. | |
| ## Output | |
| The function produces the number of hull points, with the hull written to `hull` in boundary order. | |
| ## Constraints | |
| - $0 \le n \le 50000$ and every arithmetic result required by the comparisons is finite. | |
| ## Source | |
| Classical algorithmic problem reconstructed from the verified C artifact. | |