阅读背景:

Points on Line(CF-252C)_Alex_McAvoy的博客

来源:互联网 

Problem Description

Little Petya likes points a lot. Recently his mom has presented him n points lying on the line OX. Now Petya is wondering in how many ways he can choose three distinct points so that the distance between the two farthest of them doesn't exceed d.Little Petya likes p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: