This is the riddle. I've actually found a function to parse the text file's content into a vector of strings, but I'm having trouble converting those into series of integers. It gives me "vector subscript out of range" errors, so I suspect the problem is some number that is wrong in the code that I can't find right now.
I've already used the algorithm on Problem 18, so it should work once I've got all the integers where they belong.
Edit: Actually never mind, I used ifstream incorrectly, so it only parsed every other line into the vector.
Edited, Dec 24th 2010 2:47pm by Kalivha