cancaneed's blog

By cancaneed, history, 3 days ago, In English
  • Vote: I like it
  • +1
  • Vote: I do not like it

By cancaneed, history, 11 days ago, In English
  • Vote: I like it
  • +17
  • Vote: I do not like it

By cancaneed, history, 19 months ago, In English

There are $$$n$$$ points on the line, the position of $$$i$$$ th point is $$$p[i]$$$. there are Q querys. you will got a segment which length is $$$D[i]$$$, ask at least how many segments are needed to cover all points.

$$$ 1 \le n \le 10^5 $$$, $$$ 1 \le p[i] \le 10^9 $$$, $$$ 1 \le q \le 10^5 $$$

Full text and comments »

  • Vote: I like it
  • +29
  • Vote: I do not like it

By cancaneed, history, 2 years ago, In English

n points on 2D-plane. $$$n \ge 3$$$.

Exist three points a,b,c that $$$1 \le \frac{dis(a,b)}{dis(a, c)} \le \frac{n+1}{n-1}$$$.

How to prove that?

Full text and comments »

  • Vote: I like it
  • +10
  • Vote: I do not like it