← RoseCode

ROSECODE 547

相交的弦

Intersecting chords

Philippe_57721 · 数学 ·

在圆中,两条垂直的弦AB和CD相交于P。

我们有以下长度:
- ∥AP∥=a
- ∥PB∥=b
- ∥CP∥=c
- ∥PD∥=d
和 a<b , c<d & a<c

给定 a,b,c,d are positive integers ≤5000,我们可以找到多少个不同的圆(不同的半径)?

您将得到: 1913 // 对于 100 的阈值

我的时间:60 秒