All problems solved in Spoj