I’m very new to class BufferedInputStream. So I tried to practice using it with every problem I solved before with Scanner. But every problem come with result TLE (Even in the problem “Life, the Universe, and Everything”. I tried to figure out why this happened for many days but still dont know why. This is my code.
“Life, the Universe, and Everything” : http://pastebin.com/1wR1qWET
Sry for my bad English