I am trying to solve this problem in F#: http://www.spoj.pl/problems/INTEST/
but always getting TLE... 'cause my method of data reading is too slow... how can I speed it up?
here is my code: http://paste.ubuntu.com/548806/
help me please, 'cause I really want to know a better way for data reading in F#...
some links, code examples... anything.