Got TLE how is it possible to more optomize this code plz hint me
@Vijay-Gwala-1537851266358174
Your code got accepted on https://hack.codingblocks.com/app/contests/1463/170/problem
a further optimisation would be to make ans of the required size and made the required changes.