Lunchtime 19, SRM 643 and SPOJ problems