C, C++, Java & Python solutions to problems on Spoj