#include #include #include #include #include #include #include typedef CGAL::Exact_predicates_inexact_constructions_kernel K; typedef CGAL::Delaunay_triangulation_2 Delaunay; typedef K::Point_2 Point; int main(int argc, char **argv) { int n; std::cin >> n; std::vector points; points.reserve(n); std::copy(std::istream_iterator(std::cin), std::istream_iterator(), std::back_inserter(points)); CGAL::Timer t; t.start(); Delaunay delaunay; delaunay.insert(points.begin(), points.end()); t.stop(); std::cout << t.time() << " seconds\n"; return 0; }