How many ways to draw non-crossing lines (chords) between any subset of n <= 1e6 points on a circle, such that:
1 - Lines do not cross each other.
2 - Multiple lines may share a common endpoint (i.e., chords can share points).
3 - Some points may remain unused








ليه انت ضعيف
مش عارف تحل مسالة نيوبي؟