2009/08/30 Eugene Kirpichov <ekirpichov at gmail.com>: > Here's my version that works in 0.7s for me for a file with 10^7 > "999999999"'s but for some reason gets a 'wrong answer' at SPOJ :) Maybe it gets a wrong answer because it reads all the input, regardless of `n`. -- Jason Dusek