Hello everyone,
problem link:- https://mirror.codeforces.com/problemset/problem/1979/C
I was solving the problem and got stuck,
and in the editorial it was mentioned their that we have to use LCM I am not getting how the LCM is intuted.
what is the role of LCM...... is it observational or there is some proof for the use of LCM
please clarify about it..