SPOJ solved problems