P2997 [USACO10NOV] Banner S
题目背景
题目大意(by:曹彦臣):
平面上有(0,0)到(n,m)的(n+1)\*(m+1)个点。问有多少点对所连的线段不过其他点,且长度在[l,h]范围内。
题目描述
Bessie is returning from a long trip abroad, and Farmer John wants to erect a nice 'Welcome Home' banner in her pasture for her arrival. The banner will hang between two poles on a wire whose length is in the range L1..L2 (1
输入格式
无
输出格式
无