Can some one check my code and tell why is it showing time limit exceeded

…ok great done (y)

Can u share the problem link or the constraints?
@coder_512

actually no need just replaced printf with scanf
Thank you