hey everyone , i am kind of new to writing blogs on codeforces so excuse me if I made any mistakes :) .
i am having a problem with problem (B. New Year and Old Property) (http://codeforces.net/problemset/problem/611/B) . I have been working on it for like 3 days and still not getting any progress .
You can find the code in the link : https://codeshare.io/ffeXX .
I don't know if i should explain the code or not but i will explain it in the link .
Thanks everyone for the great help .