did problems for spoj coding comp.