Many answers to SPOJ questions in C++.