I have developed a tool called
nodeforces that parses problem i/o from codeforces and automatically creates a codefile for you (with your favorite template). Once you developed your solution you can simply run tests and verify that it passes the basic test cases.
You can get it as an npm package (nodejs)
npm install -g nodeforces