Pliz correct my code and pliz tell why this particular error comes

@sgdon142
you should use fast i/o .refer to this code for modifications to solve tle