Referring to the following problem on topcoder: http://community.topcoder.com/stat?c=problem_statement&pm=12436 Parsing is not done as desired, maybe since the problem page does not contain the vector in a single line!