Solution in C++ similar to that of editor is giving TLE


#1

Solution in C++ similar to that of editor is giving TLE