Solution to following link

https://codeforces.com/contest/1230/problem/C can anyone please tell the solution of the problem ??

Not my solution : https://codeforces.com/contest/1230/submission/61198089

can we view the solutions in codeforces too??

and please provide some insights into the code