← ALL NOTES
Array

3625. Count Number of Trapezoids II

Given points in the plane. Find the number of trapezoids (exactly one pair of parallel sides) with vertices among these points. Modulo 1e9+7.

Loading…