Problems and solutions written in C or C++