My Solutions to problems on spoj