Definitely write out a text file parser that you can easily adapt for any sort of input - I know the ACM programming contests will always give you the problem data in a text file, usually with one value per line, and if you have to write out a parser each time you'll be unhappy. Also, I would suggest picking a single language and sticking with it, just so you don't have to write everything twice if the same thing is applicable to both problems.
Bingle
|