Compilation of my solutions to spoj.com problems