Codeforce-solution codeforce solution. If you face any compilation error in my solution then add //#include<bits/stdc++.h>//.