It’s showing TLE
Please update my code & add comments what’s wrong.
hello @lckyb27 in ur whille loop ,u should use && in place of || .
check ur updated code here -> https://ide.codingblocks.com/s/256269
@aman212yadav Thanks !! It’s working.