Need Help: Two chandeliers

Правка en1, от parveen1981, 2021-06-08 07:51:05

In the editorial of this problem, Can someone please tell me how do we arrive at the these equations and what are pos, x, y?

$$$ \begin{cases} pos \equiv x \pmod n \\ pos \equiv y \pmod m \end{cases} $$$

Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский parveen1981 2021-06-08 07:51:05 358 Initial revision (published)