Based in Honolulu, HI, 3leet5u is a blog by Tristan Madden. His posts are a record of his progression from "HELLO WORLD" to sEASONED PROGRAMMER.

Faster Java Input

TurboReader is my solution to the poor input performance of Scanner. All I need from a Reader in most programming contest problems is the ability to read ints and Double, and to read them quickly. That is all this class does, and it also tokenizes those values so that I never have to address empty lines in the text input. I have two versions of this class; a buffered version and an unbuffered version. Judging from the NetBeans performance profiler, the unbuffered version is favored in cases where the program only needs to read a few ints from System.in.

Kattis - Grid

Kattis - Grid

C++ Operator Overloading