The inputs of many problems on Toph doesn’t end with a \n
character. Some examples are:
and many more.
I would suggest that all existing inputs should be checked and automatically added a newline if they do not have that. As well as automatically adding a newline on any new inputs that do not have them.