When do i have to use gcd concept in a certain problem? Like — https://codeforces.com/contest/1764/problem/B in this problem gcd is used.
Need some help!
When do i have to use gcd concept in a certain problem? Like — https://codeforces.com/contest/1764/problem/B in this problem gcd is used.