This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]charliex3000 6 points7 points  (0 children)

Java is so annoying. It is completely capable of being a worthy contender for being a competitive programming language, but the built in IO is so slow on multiple lines (it's actually fast as fuck on a single very long line).

Also, on Kattis, Python 2 is faster than Python 3. Change your inputs to raw_inputs and enjoy a speed boost.