SPOJ in progress