Could there be a problem like INTEST but for output instead (ie OUTTEST)? I'd like to find the most efficient method of buffering output for problems with large amounts of output, and a problem just dealing with this would be a great testbench.
Added: link.
By the way, my fastest code runs in 0.91 secs, while (for comparison), scanf / printf takes 2.73, cin / cout takes 12.69, and some (slow) Java code of mine takes 17.08. Let's see by how much other solutions beat mine.
Cool, thanks!