Where Should I optimise to improve time complexity
@anuranjan8319918906 look at the constraints .you need long long You can verify your code with this