Скоро Codeforces Round 1133 (Div. 1, Div. 2)! Регистрация здесь. ×

Number of integer points under a line with real coefficients

Правка en1, от Miraak, 2019-11-14 21:30:36

Hello!

Does anyone know where I can submit my solution for a following problem: We are given 2 $$$\textbf{real}$$$ points on a plane $$$(x1, y1)$$$ and $$$(x2, y2)$$$. Our task is to calculate number of integer points under the segment that connects both our points.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Miraak 2019-11-14 21:30:36 321 Initial revision (published)