problem link: https://codeforces.me/contest/489/problem/C
my solution: https://paste.ubuntu.com/p/CCDXX27hRP/
kindly help me to find the error of my code
problem link: https://codeforces.me/contest/489/problem/C
my solution: https://paste.ubuntu.com/p/CCDXX27hRP/