Suggest websites to practice C/C++ algorithms/puzzles
Advent of Code posts new problems every year starting on Dec 1. The problems have a Christmas-themed story, involving Santa Claus and his elves. There are leader boards so you can compete with your friends. You can also revisit previous years problems and solve them.
Project Euler has almost 400 programming puzzles. There are no frameworks, but the first few puzzles are simple enough that this shouldn't be a problem.
TopCoder Is an online coding competition site. You can open past problems in their competition arena applet for practice. All you need to do is write the one function described in the problem. However, the problems have a wide range of difficulty. Even the easiest ones are more difficult than the beginning ones at Project Euler.
I don't know any website that works the way you said, but most of these is just simples. You just have to read from standard input and print to standard output.
- http://www.spoj.pl/
- http://www.topcoder.com/
- http://code.google.com/codejam/
Also, most of the problems of the same site will work the same way, so once you solve your first problem, you just have to use its skeleton to solve others.
There are so many. Few of them are :
http://www.leetcode.com/
http://cpp-wiki.wikidot.com/
http://www.parashift.com/c++-faq-lite/
http://www.coderholic.com/10-more-puzzle-websites-to-sharpen-your-programming-skills/